mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Disable poll outside of schedule
This commit is contained in:
@@ -1528,7 +1528,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
|
||||
AlarmManagerCompat.setAndAllowWhileIdle(am, AlarmManager.RTC_WAKEUP, next, pi);
|
||||
|
||||
WorkerPoll.init(context);
|
||||
WorkerPoll.init(context, enabled);
|
||||
}
|
||||
|
||||
private static long[] getSchedule(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user