mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Check schedule on scheduling next poll
This commit is contained in:
@@ -1604,7 +1604,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
ServiceUI.schedule(context, enabled);
|
||||
}
|
||||
|
||||
private static long[] getSchedule(Context context) {
|
||||
static long[] getSchedule(Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
if (!prefs.getBoolean("schedule", false))
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user