mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Restart services on exact alarm changes
This commit is contained in:
@@ -800,6 +800,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
}
|
||||
}
|
||||
|
||||
static void stop(Context context) {
|
||||
context.stopService(new Intent(context, ServiceSend.class));
|
||||
}
|
||||
|
||||
static void schedule(Context context, long delay) {
|
||||
Intent intent = new Intent(context, ServiceSend.class);
|
||||
PendingIntent pi = PendingIntentCompat.getForegroundService(
|
||||
|
||||
Reference in New Issue
Block a user