SDL: do not restart DummyService automatically, that does nothing good

This commit is contained in:
Sergii Pylypenko
2016-02-24 20:44:32 +02:00
parent 9735dd671b
commit 90f4f25051

View File

@@ -125,7 +125,7 @@ public class DummyService extends Service
view.setOnClickPendingIntent(R.id.notificationStop, killIntent);
ntf.contentView = view;
startForeground(1, ntf);
return Service.START_STICKY;
return Service.START_NOT_STICKY;
}
@Override
public void onDestroy()