Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe6b2922 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Fix battery warning color lookup" into oc-dev am: 834c260e

am: cedc7dfc

Change-Id: I544b92f15cc490845b24e429354f45bec8b45bc4
parents 333720fb cedc7dfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public class BatteryMeterDrawableBase extends Drawable {
        for (int i=0; i < N; i++) {
            mColors[2 * i] = levels.getInt(i, 0);
            if (colors.getType(i) == TypedValue.TYPE_ATTRIBUTE) {
                mColors[2 * i + 1] = Utils.getColorAttr(context, colors.getResourceId(i, 0));
                mColors[2 * i + 1] = Utils.getColorAttr(context, colors.getThemeAttributeId(i, 0));
            } else {
                mColors[2 * i + 1] = colors.getColor(i, 0);
            }