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

Unverified Commit aa9a5c13 authored by Chirayu Desai's avatar Chirayu Desai Committed by Michael Bestas
Browse files

fixup! SystemUI: Add powershare QS tile

Change-Id: I25c2dedf33f8f036a9d13efafc48d0f617f3a208
parent f313935c
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -188,10 +188,6 @@ public class PowerShareTile extends QSTileImpl<BooleanState>
            return;
        }

        if (state.slash == null) {
            state.slash = new SlashState();
        }

        state.icon = ResourceIcon.get(R.drawable.ic_qs_powershare);
        try {
            state.value = mPowerShare.isEnabled();
@@ -199,7 +195,6 @@ public class PowerShareTile extends QSTileImpl<BooleanState>
            state.value = false;
            ex.printStackTrace();
        }
        state.slash.isSlashed = state.value;
        state.label = mContext.getString(R.string.quick_settings_powershare_label);

        if (mBatteryController.isPowerSave() || getBatteryLevel() < getMinBatteryLevel()) {