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

Commit 8a3e140f authored by Adrian DC's avatar Adrian DC
Browse files

SystemUI: Resolve status bar battery percentage tints

 * Use the tint color matching the status bar texts

 * Results: Before and after: https://ibb.co/gvGm7y

 * Test: Bright wallpaper with status bar contrasts:
    https://ibb.co/dxupSy

Change-Id: Idff1060af9e0a0fc5eab3ed498b10266e3124950
parent 54096b8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ public class BatteryMeterView extends LinearLayout implements
        int background = getColorForDarkIntensity(intensity, mLightModeBackgroundColor,
                mDarkModeBackgroundColor);
        mDrawable.setColors(foreground, background);
        setTextColor(foreground);
        setTextColor(tint);
    }

    public void setTextColor(int color) {