mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Added automation support
This commit is contained in:
@@ -3239,6 +3239,9 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
am.cancel(piSchedule);
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ServiceSynchronize.this);
|
||||
if (!prefs.getBoolean("schedule", false))
|
||||
return;
|
||||
|
||||
int minuteStart = prefs.getInt("schedule_start", 0);
|
||||
int minuteEnd = prefs.getInt("schedule_end", 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user