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
This commit is contained in:
@@ -216,5 +216,7 @@ public class SecureSettings {
|
|||||||
Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_ENABLED,
|
Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_ENABLED,
|
||||||
Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_TRIGGER_HINTS_ENABLED,
|
Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_TRIGGER_HINTS_ENABLED,
|
||||||
Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_KEYBOARD_SHIFT_ENABLED,
|
Settings.Secure.ACCESSIBILITY_SOFTWARE_CURSOR_KEYBOARD_SHIFT_ENABLED,
|
||||||
|
Settings.Secure.ASSIST_TOUCH_GESTURE_ENABLED,
|
||||||
|
Settings.Secure.ASSIST_LONG_PRESS_HOME_ENABLED,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user