Merge "Set the `Keep on after device restarts` non-searchable and add comments for the reasons." into main
diff --git a/res/xml/reduce_bright_colors_settings.xml b/res/xml/reduce_bright_colors_settings.xml
index d092e13..683190e 100644
--- a/res/xml/reduce_bright_colors_settings.xml
+++ b/res/xml/reduce_bright_colors_settings.xml
@@ -30,8 +30,12 @@
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
android:key="rbc_persist"
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>