mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 03:43:55 +01:00
Restart on process
This commit is contained in:
@@ -476,6 +476,9 @@ public class ServiceSynchronize extends ServiceBase {
|
||||
am.set(AlarmManager.RTC_WAKEUP, at, piOneshot);
|
||||
else
|
||||
am.setAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, at, piOneshot);
|
||||
|
||||
if (!started)
|
||||
onReload(true, "oneshot start");
|
||||
} else
|
||||
onReload(true, "oneshot end");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user