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

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

Merge "Bring up the QS state colors to increase contrast" into oc-dev am: 214a8bda

am: 2253109f

Change-Id: I776d42072d206635ba6f5a609ab3662edce1954d
parents 7013c0d0 2253109f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -340,12 +340,12 @@ public abstract class QSTileImpl<TState extends State> implements QSTile {
        switch (state) {
            case Tile.STATE_UNAVAILABLE:
                return Utils.getDisabled(context,
                        Utils.getColorAttr(context, android.R.attr.textColorTertiary));
                        Utils.getColorAttr(context, android.R.attr.textColorPrimary));
            case Tile.STATE_INACTIVE:
                return Utils.getDisabled(context,
                        Utils.getColorAttr(context, android.R.attr.textColorSecondary));
                        Utils.getColorAttr(context, android.R.attr.colorForeground));
            case Tile.STATE_ACTIVE:
                return Utils.getColorAttr(context, attr.textColorSecondary);
                return Utils.getColorAttr(context, android.R.attr.textColorPrimary);
            default:
                Log.e("QSTile", "Invalid state " + state);
                return 0;