Refine the DarkModeScheduleSelectorController
- move the initial part to the displayPreference. - use indext compared instead of the direct string compared. Bug: 141567787 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ROBOTEST_FILTER=com.android.settings.display Change-Id: I49ccc248bc1f5f9659f8543793ea502ac3e2ea6f
This commit is contained in:
@@ -102,9 +102,9 @@
|
||||
|
||||
<!-- Dark theme scheduling preferences [CHAR LIMIT=NONE] -->
|
||||
<string-array name="dark_ui_scheduler_preference_titles">
|
||||
<!-- 1: None -->
|
||||
<!-- 0: None -->
|
||||
<item>@string/dark_ui_auto_mode_never</item>
|
||||
<!-- 2: Auto -->
|
||||
<!-- 1: Auto -->
|
||||
<item>@string/dark_ui_auto_mode_auto</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user