mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Refactoring: schedule exact alarm
This commit is contained in:
@@ -484,10 +484,9 @@ public class FragmentOptions extends FragmentBase {
|
||||
boolean setup_reminder = prefs.getBoolean("setup_reminder", true);
|
||||
|
||||
boolean hasPermissions = hasPermission(Manifest.permission.READ_CONTACTS);
|
||||
Boolean isIgnoring = Helper.isIgnoringOptimizations(getContext());
|
||||
boolean isIgnoring = !Boolean.FALSE.equals(Helper.isIgnoringOptimizations(getContext()));
|
||||
|
||||
if (!setup_reminder ||
|
||||
(hasPermissions && (isIgnoring == null || isIgnoring)))
|
||||
if (!setup_reminder || (hasPermissions && isIgnoring))
|
||||
super.finish();
|
||||
else {
|
||||
FragmentDialogStill fragment = new FragmentDialogStill();
|
||||
|
||||
Reference in New Issue
Block a user