Prevent the Service from restarting if it should be killed.
This commit is contained in:
parent
7d17c30f95
commit
a6f0da5e34
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ public class TimerService extends Service {
|
|||
|
||||
notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
|
||||
|
||||
return START_STICKY;
|
||||
return START_NOT_STICKY;
|
||||
}
|
||||
|
||||
private void handleSnoozeTimer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue