mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Start foreground on start command too
This shouldn't be necessary ...
This commit is contained in:
@@ -48,6 +48,9 @@ public class ServiceExternal extends Service {
|
||||
Log.i("Received intent=" + intent);
|
||||
Log.logExtras(intent);
|
||||
|
||||
super.onStartCommand(intent, flags, startId);
|
||||
startForeground(Helper.NOTIFICATION_EXTERNAL, getNotification().build());
|
||||
|
||||
if (intent == null)
|
||||
return START_NOT_STICKY;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user