Disabled setup debug

pull/194/merge
M66B 3 years ago
parent 351af84a86
commit bb6d702592

@ -700,7 +700,7 @@ public class FragmentSetup extends FragmentBase {
tvDoze12.setVisibility(Helper.isOptimizing12(getContext()) ? View.VISIBLE : View.GONE); tvDoze12.setVisibility(Helper.isOptimizing12(getContext()) ? View.VISIBLE : View.GONE);
grpInexactAlarms.setVisibility( grpInexactAlarms.setVisibility(
!AlarmManagerCompatEx.canScheduleExactAlarms(getContext()) || BuildConfig.DEBUG !AlarmManagerCompatEx.canScheduleExactAlarms(getContext())
? View.VISIBLE : View.GONE); ? View.VISIBLE : View.GONE);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {

@ -1068,9 +1068,6 @@ public class Helper {
static boolean isStaminaEnabled(Context context) { static boolean isStaminaEnabled(Context context) {
// https://dontkillmyapp.com/sony // https://dontkillmyapp.com/sony
if (BuildConfig.DEBUG)
return true;
if (!isSony()) if (!isSony())
return false; return false;

Loading…
Cancel
Save