Simplification

This commit is contained in:
M66B
2019-06-28 13:08:04 +02:00
parent 51606f2763
commit 2e429e4f8e
11 changed files with 41 additions and 67 deletions

View File

@@ -1418,7 +1418,7 @@ public class ServiceSynchronize extends LifecycleService {
am.cancel(piAlarm);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
if (!prefs.getBoolean("schedule", false))
if (!prefs.getBoolean("schedule", false) || !Helper.isPro(context))
return;
int minuteStart = prefs.getInt("schedule_start", 0);