Changed doze nag target

pull/212/head
M66B 2 years ago
parent f5445b11a8
commit e41fee3b1a

@ -5073,8 +5073,7 @@ public class FragmentMessages extends FragmentBase
boolean enabled = prefs.getBoolean("enabled", true); boolean enabled = prefs.getBoolean("enabled", true);
boolean reminder = prefs.getBoolean("setup_reminder", true); boolean reminder = prefs.getBoolean("setup_reminder", true);
boolean targeting = boolean targeting =
(Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE || (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU);
!BuildConfig.PLAY_STORE_RELEASE);
grpBatteryOptimizations.setVisibility( grpBatteryOptimizations.setVisibility(
!isIgnoring && enabled && reminder && targeting ? View.VISIBLE : View.GONE); !isIgnoring && enabled && reminder && targeting ? View.VISIBLE : View.GONE);

Loading…
Cancel
Save