From 2fba1943fa9249c182ad3f1b800d4d79f5d94527 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Mon, 17 Dec 2018 16:58:25 -0800 Subject: [PATCH] Fix bug of not showing locked icon in WifiSettings This bug only exist by launching WifiSettings from quick settings. Quick settings launch this page by intent, where we use Theme.Settings. However we only have frictionIconColor in Theme.SubSettings, not Theme.Settings. This CL move related attr to correct theme, so we won't show invisible icon anymore. Bug: 120710149 Test: Manual Change-Id: Iae07f6ca19eda0bfbc352f03787b5a583c4066f2 --- res/values/themes.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/res/values/themes.xml b/res/values/themes.xml index 390be584e21..e972ea728ab 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -32,9 +32,13 @@ @style/FingerprintLayoutTheme @style/FaceLayoutTheme @*android:drawable/ic_menu_moreoverflow_holo_dark + + @drawable/wifi_signal ?android:attr/colorAccent @drawable/wifi_friction + ?android:colorControlNormal + @dimen/settings_side_margin ?android:attr/colorAccent @@ -71,9 +75,6 @@ @style/Widget.ActionBar.SubSettings @style/ThemeOverlay.SwitchBar.Settings - - - ?android:colorControlNormal