mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Debug: screen on / Android 14
This commit is contained in:
@@ -502,7 +502,8 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
||||
});
|
||||
|
||||
grpScreenOn.setVisibility(
|
||||
Build.VERSION.SDK_INT <= Build.VERSION_CODES.TIRAMISU ||
|
||||
BuildConfig.DEBUG ||
|
||||
Build.VERSION.SDK_INT <= Build.VERSION_CODES.TIRAMISU ||
|
||||
hasPermission("android.permission.TURN_SCREEN_ON")
|
||||
? View.VISIBLE : View.GONE);
|
||||
swNotifyScreenOn.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
|
||||
Reference in New Issue
Block a user