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

Commit 7b91de00 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't show estimate with center notch" into sc-dev am: 7bb24f63

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14998945

Change-Id: I59bea4c3e6d189962e79167ff5a14776743eeb03
parents 5f5b3f54 7bb24f63
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -399,12 +399,14 @@ public class QuickStatusBarHeader extends FrameLayout {
                mClockIconsSeparatorLayoutParams.width = 0;
                setSeparatorVisibility(false);
                mShowClockIconsSeparator = false;
                mBatteryRemainingIcon.setPercentShowMode(BatteryMeterView.MODE_ESTIMATE);
            } else {
                datePrivacySeparatorLayoutParams.width = topCutout.width();
                mDatePrivacySeparator.setVisibility(View.VISIBLE);
                mClockIconsSeparatorLayoutParams.width = topCutout.width();
                mShowClockIconsSeparator = true;
                setSeparatorVisibility(mKeyguardExpansionFraction == 0f);
                mBatteryRemainingIcon.setPercentShowMode(BatteryMeterView.MODE_ON);
            }
        }
        mDatePrivacySeparator.setLayoutParams(datePrivacySeparatorLayoutParams);