mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Replace work manager by alarm for polling
This commit is contained in:
@@ -1573,7 +1573,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
AlarmManagerCompat.setAndAllowWhileIdle(am, AlarmManager.RTC_WAKEUP, next, pi);
|
||||
}
|
||||
|
||||
WorkerPoll.init(context, enabled);
|
||||
ServiceUI.schedule(context, enabled);
|
||||
}
|
||||
|
||||
private static long[] getSchedule(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user