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

Commit 5b13e7ee authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge branch '2734-t-battery_icon' into 'v2.5-t'

BatteryMeterView: Battery icon available by default

See merge request e/os/android_frameworks_base!235
parents a3ee7bd9 0ecd5990
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public class BatteryMeterView extends LinearLayout implements DarkReceiver {
    private int mShowPercentMode = MODE_DEFAULT;
    private String mEstimateText = null;
    private boolean mCharging;
    private boolean mPresent;
    private boolean mPresent = true;
    private boolean mIsOverheated;
    private boolean mDisplayShieldEnabled;
    // Error state where we know nothing about the current battery state
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ public class BatteryControllerImpl extends BroadcastReceiver implements BatteryC

    protected int mLevel;
    protected boolean mPluggedIn;
    protected boolean mPresent;
    protected boolean mPresent = true;
    private int mPluggedChargingSource;
    protected boolean mCharging;
    private boolean mStateUnknown = false;