Revert "Add animation for battery asyncLoader."
This reverts commit a3c528f64d
.
Test: Build
Change-Id: Ib50221873e39dee40c5cf8e4b41dcf7aa13f6134
Merged-In: Ib50221873e39dee40c5cf8e4b41dcf7aa13f6134
This commit is contained in:
@@ -38,8 +38,6 @@ public class BatteryMeterView extends ImageView {
|
||||
@VisibleForTesting
|
||||
ColorFilter mAccentColorFilter;
|
||||
|
||||
private int mLevel;
|
||||
|
||||
public BatteryMeterView(Context context) {
|
||||
this(context, null, 0);
|
||||
}
|
||||
@@ -66,7 +64,6 @@ public class BatteryMeterView extends ImageView {
|
||||
}
|
||||
|
||||
public void setBatteryLevel(int level) {
|
||||
mLevel = level;
|
||||
mDrawable.setBatteryLevel(level);
|
||||
if (level < mDrawable.getCriticalLevel()) {
|
||||
mDrawable.setBatteryColorFilter(mErrorColorFilter);
|
||||
@@ -75,10 +72,6 @@ public class BatteryMeterView extends ImageView {
|
||||
}
|
||||
}
|
||||
|
||||
public int getBatteryLevel() {
|
||||
return mLevel;
|
||||
}
|
||||
|
||||
public void setCharging(boolean charging) {
|
||||
mDrawable.setCharging(charging);
|
||||
}
|
||||
|
Reference in New Issue
Block a user