Merge "Fix battery icon tint in QS during battery saver" into oc-dev

This commit is contained in:
Jason Monk
2017-05-10 18:03:13 +00:00
committed by Android (Google) Code Review

View File

@@ -240,7 +240,7 @@ public class BatteryMeterDrawableBase extends Drawable {
private int getColorForLevel(int percent) {
// If we are in power save mode, always use the normal color.
if (mPowerSaveEnabled) {
return mColors[mColors.length - 1];
return mIconTint;
}
int thresh, color = 0;
for (int i = 0; i < mColors.length; i += 2) {