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

Unverified Commit adb67550 authored by Zhao Wei Liew's avatar Zhao Wei Liew Committed by Michael Bestas
Browse files

Revert "SystemUI: Show percentage of battery"

CM has its own battery customization options.
Revert the original CAF commit as it is unnecessary.

This reverts commit 296a682a.

Change-Id: I1e806d89cfa56ff18f91cc8ae7b7f65954f5f92b
parent f308e6ec
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -328,9 +328,6 @@
    <!-- Show 4GLTE for LTE -->
    <bool name="show_4glte_icon_for_lte">false</bool>

    <!-- Whether or not to show battery level text. -->
    <bool name="config_showBatteryPercentage">false</bool>

    <bool name="config_show4gForIWlan">false</bool>
    <bool name="config_showSignalForIWlan">false</bool>

+1 −3
Original line number Diff line number Diff line
@@ -167,9 +167,7 @@ public class KeyguardStatusBarView extends RelativeLayout
            }
        }

        boolean showBatteryLevel = getResources().getBoolean(R.bool.config_showBatteryPercentage);
        mBatteryLevel.setVisibility(
                mBatteryCharging || showBatteryLevel ? View.VISIBLE : View.GONE);
        mBatteryLevel.setVisibility(mBatteryCharging ? View.VISIBLE : View.GONE);
    }

    private void updateSystemIconsLayoutParams() {