Revert "Add animation for battery asyncLoader."

This reverts commit a3c528f64d.

Test: Build
Change-Id: Ib50221873e39dee40c5cf8e4b41dcf7aa13f6134
Merged-In: Ib50221873e39dee40c5cf8e4b41dcf7aa13f6134
This commit is contained in:
Lei Yu
2017-05-19 17:47:44 +00:00
committed by jackqdyulei
parent d6aa9f3454
commit 78684dc049
3 changed files with 6 additions and 116 deletions

View File

@@ -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);
}