Improved boot

This commit is contained in:
M66B
2019-02-28 07:55:08 +00:00
parent fe6fa7a2d5
commit d32b55d2c5
5 changed files with 136 additions and 118 deletions

View File

@@ -197,7 +197,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
if (checked) {
if (Helper.isPro(getContext())) {
prefs.edit().putBoolean("schedule", true).apply();
ServiceSynchronize.schedule(getContext());
ServiceSynchronize.reschedule(getContext());
} else {
swSchedule.setChecked(false);
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
@@ -645,7 +645,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
editor.putBoolean("schedule", true);
editor.apply();
ServiceSynchronize.schedule(getContext());
ServiceSynchronize.reschedule(getContext());
}
}