Skip to content

Commit

Permalink
root_preferences.xml: inhibit_batt_opt should not be persistent
Browse files Browse the repository at this point in the history
The persistent value is never read because the actual state is
controlled by Android.

Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed Jun 7, 2024
1 parent abf6579 commit 21fe000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/xml/root_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<SwitchPreferenceCompat
app:key="inhibit_batt_opt"
app:persistent="false"
app:title="@string/pref_inhibit_batt_opt_name"
app:summary="@string/pref_inhibit_batt_opt_desc"
app:iconSpaceReserved="false" />
Expand Down

0 comments on commit 21fe000

Please sign in to comment.