From 3536b23998f623d9a5519efe7f6322f01ea77de8 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Wed, 19 Apr 2017 13:11:11 -0400 Subject: [PATCH] Bring up the QS state colors to increase contrast Test: visual Change-Id: I5182e3dae7be89bf38d0ed33e3cbefedc664c718 Fixes: 37443237 --- .../src/com/android/systemui/qs/tileimpl/QSTileImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java index 6781c1673408b..976efb2c289b3 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java @@ -340,12 +340,12 @@ public abstract class QSTileImpl 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;