Merge "Guard against battery tile crash" into nyc-dev
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user