Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView
ThemedBatteryDrawable will no longer need it due to drawing more betterer Test: battery should look the same Bug: 129014647 Change-Id: I6706cec2b3c3bfbdc0e0456c58191bc7152783e7
This commit is contained in:
@@ -61,7 +61,6 @@ public class BatteryMeterView extends ImageView {
|
|||||||
mDrawable = new BatteryMeterDrawable(context, frameColor);
|
mDrawable = new BatteryMeterDrawable(context, frameColor);
|
||||||
mDrawable.setColorFilter(mAccentColorFilter);
|
mDrawable.setColorFilter(mAccentColorFilter);
|
||||||
setImageDrawable(mDrawable);
|
setImageDrawable(mDrawable);
|
||||||
setLayerType(LAYER_TYPE_SOFTWARE, null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBatteryLevel(int level) {
|
public void setBatteryLevel(int level) {
|
||||||
|
Reference in New Issue
Block a user