Start foreground on start command too

This shouldn't be necessary ...
This commit is contained in:
M66B
2019-07-31 08:18:05 +02:00
parent 5f71c31357
commit 0606dac914
3 changed files with 5 additions and 0 deletions

View File

@@ -254,6 +254,7 @@ public class ServiceSynchronize extends ServiceBase {
Log.logExtras(intent);
super.onStartCommand(intent, flags, startId);
startForeground(Helper.NOTIFICATION_SYNCHRONIZE, getNotificationService(null).build());
if (action != null)
try {