Merge "Guard against battery tile crash" into nyc-dev am: f2bf0c4ba0
am: 58add15bb3
* commit '58add15bb340dc12c2d07e5afd6637a14e209a21':
Guard against battery tile crash
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