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

Commit 0db5308d authored by Volodymyr Zhdanov's avatar Volodymyr Zhdanov Committed by Bruno Martins
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 4cf58b73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,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);