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

Commit 58add15b 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

* commit 'f2bf0c4b':
  Guard against battery tile crash
parents 61964371 f2bf0c4b
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();