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

Commit 3144393d authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Guard against battery tile crash" into nyc-dev am: f2bf0c4b

am: 58add15b

* commit '58add15b':
  Guard against battery tile crash
parents 8eb253b2 58add15b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -182,6 +182,9 @@ public class BatteryTile extends QSTile<QSTile.State> implements BatteryControll
        }

        private void bindView() {
            if (mCurrentView == null) {
                return;
            }
            mDrawable.onBatteryLevelChanged(100, false, false);
            mDrawable.onPowerSaveChanged(true);
            mDrawable.disableShowPercent();