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

Commit 8a332736 authored by Doris Ling's avatar Doris Ling
Browse files

Add the Moves setting values to the backup list.

Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED,
Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, and
Secure.SYSTEM_NAVIGATION_KEYS_ENABLED (used by Settings->Moves)
to Secure.SETTINGS_TO_BACKUP, so that they will be backed up and
restored automatically.

Fixes: 31023788

Test: Manual - Setup device using "Copy your data", verify that
Settings->Moves toggles are set to previous selected values.

Change-Id: I509c997641bb693009bec703e5272b5aad517f0f
parent 02e54d3c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -6393,7 +6393,10 @@ public final class Settings {
            NIGHT_DISPLAY_CUSTOM_START_TIME,
            NIGHT_DISPLAY_CUSTOM_END_TIME,
            NIGHT_DISPLAY_AUTO_MODE,
            NIGHT_DISPLAY_ACTIVATED
            NIGHT_DISPLAY_ACTIVATED,
            CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED,
            CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED,
            SYSTEM_NAVIGATION_KEYS_ENABLED
        };

        /**