Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded3c8a9 authored by Candice's avatar Candice
Browse files

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
parent 2a108459
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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>