Merge "Set the Keep on after device restarts non-searchable and add comments for the reasons." into main

This commit is contained in:
Candice Lo
2024-10-13 12:55:33 +00:00
committed by Android (Google) Code Review

View File

@@ -30,8 +30,12 @@
settings:tickMark="@android:color/transparent" settings:tickMark="@android:color/transparent"
/> />
<!-- The term `restarts` is usually used for indicating restarting devices.
Therefore, We wouldn't want `Keep on after device restarts` preference in the Extra Dim
shows up as the search result when the user searches `restart`-->
<SwitchPreferenceCompat <SwitchPreferenceCompat
android:key="rbc_persist" android:key="rbc_persist"
android:persistent="false" android:persistent="false"
android:title="@string/reduce_bright_colors_persist_preference_title" /> android:title="@string/reduce_bright_colors_persist_preference_title"
settings:searchable="false"/>
</PreferenceScreen> </PreferenceScreen>