Remove non necessary prefix in logs

This commit is contained in:
Maxime NATUREL 2022-06-28 14:49:35 +02:00
parent ca7b469d28
commit 7b0878daf9

View File

@ -173,14 +173,14 @@ class LocationSharingService : VectorService(), LocationTracker.Callback {
private fun tryToDestroyMe() { private fun tryToDestroyMe() {
if (startInProgress.not() && roomArgsMap.isEmpty()) { if (startInProgress.not() && roomArgsMap.isEmpty()) {
Timber.i("### LocationSharingService. Destroying self, time is up for all rooms") Timber.i("Destroying self, time is up for all rooms")
stopSelf() stopSelf()
} }
} }
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
Timber.i("### LocationSharingService.onDestroy") Timber.i("onDestroy")
jobs.forEach { it.cancel() } jobs.forEach { it.cancel() }
jobs.clear() jobs.clear()
locationTracker.removeCallback(this) locationTracker.removeCallback(this)