Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e113f0c4 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android Git Automerger
Browse files

am b7028f25: am 5ab0e183: Merge "Hide optimization control on battery details...

am b7028f25: am 5ab0e183: Merge "Hide optimization control on battery details page for non whitelisted apps." into mnc-dev

* commit 'b7028f25':
  Hide optimization control on battery details page for non whitelisted apps.
parents 233f1b61 b7028f25
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -430,7 +430,8 @@ public class PowerUsageDetail extends PowerUsageBase implements Button.OnClickLi
            } else {
                removePreference(KEY_TWO_BUTTONS);
            }
            if (mApp != null) {
            if (mApp != null
                    && PowerWhitelistBackend.getInstance().isWhitelisted(mApp.packageName)) {
                mHighPower = findPreference(KEY_HIGH_POWER);
                mHighPower.setOnPreferenceClickListener(new OnPreferenceClickListener() {
                    @Override