mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Always ask for disabling battery optimizations
This commit is contained in:
parent
61ebab80f0
commit
9fada9c0e4
1 changed files with 2 additions and 1 deletions
|
@ -353,7 +353,8 @@ public class FragmentSetup extends FragmentBase {
|
|||
btnDoze.setEnabled(!ignoring);
|
||||
|
||||
// https://issuetracker.google.com/issues/37070074
|
||||
ignoring = (ignoring || Build.VERSION.SDK_INT != Build.VERSION_CODES.M);
|
||||
//ignoring = (ignoring || Build.VERSION.SDK_INT != Build.VERSION_CODES.M);
|
||||
|
||||
tvDozeDone.setText(ignoring ? R.string.title_setup_done : R.string.title_setup_to_do);
|
||||
tvDozeDone.setTextColor(ignoring ? textColorPrimary : colorWarning);
|
||||
tvDozeDone.setCompoundDrawablesWithIntrinsicBounds(ignoring ? check : null, null, null, null);
|
||||
|
|
Loading…
Reference in a new issue