summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-04-21 13:13:06 -0700
committerRoman Birg <roman@cyngn.com>2016-01-18 10:30:03 -0800
commit6fb2c183a3a769382f63109fa5a15937692253d1 (patch)
treee6280b504057eb86cd9554ccdfd52c3257a3ee17 /packages/SystemUI/res
parentf15ce7a7a91008b18556f37e311b44c5a0da0448 (diff)
downloadframeworks_base-6fb2c183a3a769382f63109fa5a15937692253d1.zip
frameworks_base-6fb2c183a3a769382f63109fa5a15937692253d1.tar.gz
frameworks_base-6fb2c183a3a769382f63109fa5a15937692253d1.tar.bz2
SystemUI: add a disabled state for Quick Tiles
Some tiles may want to be visible, but not allow any user interaction due to security reasons. Add a visual disabled state for tiles which are not enabled. With this patch, the Profiles tile and the Lockscreen toggle tile disable themselves on a secure lock screen. Ref: CYNGNOS-1597 Change-Id: I65ec7837661483d238d8dc3fa18419f76c8029dd Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r--packages/SystemUI/res/values/cm_colors.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/cm_colors.xml b/packages/SystemUI/res/values/cm_colors.xml
index cedeeee..098a942 100644
--- a/packages/SystemUI/res/values/cm_colors.xml
+++ b/packages/SystemUI/res/values/cm_colors.xml
@@ -103,4 +103,7 @@
<color name="qs_detailed_expansion_indicator_color">@color/qs_title_text_color</color>
<color name="qs_detailed_title_text_color">@color/qs_title_text_color</color>
<color name="qs_detailed_icon_tint_color">@color/qs_title_text_color</color>
+
+ <!-- Quick tile text color when the tile is disabled -->
+ <color name="qs_tile_text_disabled">#ff747474</color>
</resources>