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

Commit 27380cc6 authored by Jernej Virag's avatar Jernej Virag
Browse files

Backup settings for Assistant invocation

This backs up two more settings:
 * "Use long press home for Assistant" (if user uses 3-button
   navigation)
 * "Use corner-swipe for Assistant" (if user uses gesture navigation)

Since we changed the defaults for these settings between OS generations,
users have been losing their interaction settings when migrating.

Bug: 242160733
Test: atest SettingsBackupTest
      (Temporarily reenabled secureSettingsBackedUpOrDenied)
Change-Id: If4a0fd112f68aebbc343efc9e0d6ccbbe6b89036
parent cb7ea3c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -216,5 +216,7 @@ public class SecureSettings {
        Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_ENABLED,
        Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_TRIGGER_HINTS_ENABLED,
        Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_KEYBOARD_SHIFT_ENABLED,
        Settings.Secure.ASSIST_TOUCH_GESTURE_ENABLED,
        Settings.Secure.ASSIST_LONG_PRESS_HOME_ENABLED,
    };
}