|
|
@ -74,7 +74,7 @@ public class FragmentDialogPermissions extends FragmentDialogBase {
|
|
|
|
boolean hasContactPermissions =
|
|
|
|
boolean hasContactPermissions =
|
|
|
|
Helper.hasPermission(context, Manifest.permission.READ_CONTACTS);
|
|
|
|
Helper.hasPermission(context, Manifest.permission.READ_CONTACTS);
|
|
|
|
boolean hasNotificationPermissions =
|
|
|
|
boolean hasNotificationPermissions =
|
|
|
|
(Helper.getTargetSdk(context) < Build.VERSION_CODES.TIRAMISU ||
|
|
|
|
(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU ||
|
|
|
|
Helper.hasPermission(context, Manifest.permission.POST_NOTIFICATIONS));
|
|
|
|
Helper.hasPermission(context, Manifest.permission.POST_NOTIFICATIONS));
|
|
|
|
boolean isIgnoring = !Boolean.FALSE.equals(Helper.isIgnoringOptimizations(context));
|
|
|
|
boolean isIgnoring = !Boolean.FALSE.equals(Helper.isIgnoringOptimizations(context));
|
|
|
|
boolean canScheduleExact = AlarmManagerCompatEx.canScheduleExactAlarms(getContext());
|
|
|
|
boolean canScheduleExact = AlarmManagerCompatEx.canScheduleExactAlarms(getContext());
|
|
|
|