mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Fixed start on reload
This commit is contained in:
@@ -308,8 +308,11 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
am.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + ONESHOT_DURATION, piOneshot);
|
||||
else
|
||||
am.setAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + ONESHOT_DURATION, piOneshot);
|
||||
|
||||
if (!started)
|
||||
onReload(true, "oneshot start");
|
||||
} else
|
||||
onReload(true, "oneshot");
|
||||
onReload(true, "oneshot end");
|
||||
}
|
||||
|
||||
private void queue_reload(final boolean start, final boolean clear, final String reason) {
|
||||
|
||||
Reference in New Issue
Block a user