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

am: 0b9e1e7f22

Change-Id: Ib5608f431e8586eb3c79151bade78c9f3656ad51
This commit is contained in:
Jason Monk
2017-05-10 22:39:15 +00:00
committed by android-build-merger

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) {