Set the Keep on after device restarts non-searchable and add comments for the reasons.
Bug: 354778552 Test: Manually search `restarts` in Settings and check the preference in ExtraDim does not show up(Add screenshot to the bug) Flag: EXEMPT The change is made in xml only Change-Id: I37d64261c55ff7dfd1f1a4576073ce08732944c9
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user