Loading packages/SystemUI/src/com/android/systemui/BatteryMeterView.java +2 −1 Original line number Diff line number Diff line Loading @@ -409,7 +409,7 @@ public class BatteryMeterView extends LinearLayout implements final int showBatteryPercent = LineageSettings.System.getIntForUser( getContext().getContentResolver(), STATUS_BAR_SHOW_BATTERY_PERCENT, 0, mUser); final boolean drawPercentInside = mShowPercentMode == MODE_DEFAULT && showBatteryPercent == 2; showBatteryPercent == 1; final boolean drawPercentOnly = mShowPercentMode == MODE_ESTIMATE || showBatteryPercent == 2; if (drawPercentOnly && (!drawPercentInside || mCharging) || Loading Loading @@ -534,6 +534,7 @@ public class BatteryMeterView extends LinearLayout implements @Override public void onChange(boolean selfChange, Uri uri) { super.onChange(selfChange, uri); updateShowPercent(); if (TextUtils.equals(uri.getLastPathSegment(), Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME)) { Loading Loading
packages/SystemUI/src/com/android/systemui/BatteryMeterView.java +2 −1 Original line number Diff line number Diff line Loading @@ -409,7 +409,7 @@ public class BatteryMeterView extends LinearLayout implements final int showBatteryPercent = LineageSettings.System.getIntForUser( getContext().getContentResolver(), STATUS_BAR_SHOW_BATTERY_PERCENT, 0, mUser); final boolean drawPercentInside = mShowPercentMode == MODE_DEFAULT && showBatteryPercent == 2; showBatteryPercent == 1; final boolean drawPercentOnly = mShowPercentMode == MODE_ESTIMATE || showBatteryPercent == 2; if (drawPercentOnly && (!drawPercentInside || mCharging) || Loading Loading @@ -534,6 +534,7 @@ public class BatteryMeterView extends LinearLayout implements @Override public void onChange(boolean selfChange, Uri uri) { super.onChange(selfChange, uri); updateShowPercent(); if (TextUtils.equals(uri.getLastPathSegment(), Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME)) { Loading