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

Unverified Commit cfa04152 authored by Volodymyr Zhdanov's avatar Volodymyr Zhdanov Committed by Michael Bestas
Browse files

QuickStatusBarHeader: don't disable estimate mode for centered notch devices

* it used to go to the else block before we started controlling on/off ourselves

Change-Id: Ic30ef3a26e27dbe15ec55c09b77c600c912761e6
parent 3b0f5b85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ public class QuickStatusBarHeader extends FrameLayout {
    }

    private void updateBatteryMode() {
        if (mConfigShowBatteryEstimate && !mHasCenterCutout) {
        if (mConfigShowBatteryEstimate) {
            mBatteryRemainingIcon.setPercentShowMode(BatteryMeterView.MODE_ESTIMATE);
        } else {
            mBatteryRemainingIcon.setPercentShowMode(BatteryMeterView.MODE_ON);