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

Commit c6cff8d8 authored by narinder Rana's avatar narinder Rana
Browse files

update drawPercentInside

parent e44db0e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 == 1;
                showBatteryPercent == 2;
        final boolean drawPercentOnly = mShowPercentMode == MODE_ESTIMATE ||
                showBatteryPercent == 2;
        if (drawPercentOnly && (!drawPercentInside || mCharging) ||