Fix "unable to connect to background" error when session ends

This commit is contained in:
Marius Lindvall 2019-12-28 19:29:44 +01:00
parent ad6eb7ce76
commit 9d27fc819f

View file

@ -152,6 +152,7 @@ public final class LocationPushService extends Service {
Log.i("Removing callbacks from handler"); //NON-NLS
this.handler.removeCallbacksAndMessages(null);
this.gnssActiveTask = new MultiTargetGNSSHandlerProxy();
Log.i("Stopping foreground service"); //NON-NLS
stopForeground(true);