1
0
Fork 0
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:
M66B 2019-07-09 07:49:15 +02:00
parent 61ebab80f0
commit 9fada9c0e4

View file

@ -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);