commit | 268d6b092a48e2bc2df530cd733fc147fb08caf8 | [log] [tgz] |
---|---|---|
author | Jay Aliomer <aaliomer@google.com> | Sat Dec 07 16:37:30 2019 -0500 |
committer | Jay Aliomer <aaliomer@google.com> | Sat Dec 07 22:19:41 2019 +0000 |
tree | f2b8a38fee8d51596ea3845c7eb716012812d988 | |
parent | 95820eb0014f7719fc5b7f94326374c5b2afd873 [diff] |
Dark theme drop down does not show selected option a place holder for the summary was updated in commit https://googleplex-android-review.git.corp.google.com/changes/platform%2Fpackages%2Fapps%2FSettings~9818614/revisions/3/files/res%2Fxml%2Fdark_mode_settings.xml/download?parent=1 This change is reverted in this CL Test: manual Fixes: 145672617 Change-Id: I41443e7334487e3afac0343333a9ed289d2fe390
diff --git a/res/xml/dark_mode_settings.xml b/res/xml/dark_mode_settings.xml index c3985e6..9247a0c 100644 --- a/res/xml/dark_mode_settings.xml +++ b/res/xml/dark_mode_settings.xml
@@ -24,7 +24,7 @@ <DropDownPreference android:key="dark_ui_auto_mode" android:title="@string/dark_ui_auto_mode_title" - android:summary="@string/summary_placeholder" + android:summary="%s" android:entries="@array/dark_ui_scheduler_preference_titles" android:entryValues="@array/dark_ui_scheduler_preference_titles" settings:controller="com.android.settings.display.darkmode.DarkModeScheduleSelectorController"