Prevent the Service from restarting if it should be killed.

This commit is contained in:
Christopher Beckmann 2017-11-12 20:06:47 +01:00
commit a6f0da5e34

View file

@ -271,7 +271,7 @@ public class TimerService extends Service {
notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
return START_STICKY;
return START_NOT_STICKY;
}
private void handleSnoozeTimer() {