Don't destroy the notification after service stops.
This commit is contained in:
parent
97c2ccb4d5
commit
f6f5bf5809
1 changed files with 0 additions and 1 deletions
|
@ -638,7 +638,6 @@ class TrackerService: Service()
|
|||
stopTracking()
|
||||
}
|
||||
stopForeground(STOP_FOREGROUND_REMOVE)
|
||||
notificationManager.cancel(Keys.TRACKER_SERVICE_NOTIFICATION_ID) // this call was not necessary prior to Android 12
|
||||
PreferencesHelper.unregisterPreferenceChangeListener(sharedPreferenceChangeListener)
|
||||
reset_location_listeners(interval=Keys.LOCATION_INTERVAL_DEAD)
|
||||
handler.removeCallbacks(background_watchdog)
|
||||
|
|
Loading…
Reference in a new issue