summaryrefslogtreecommitdiff
path: root/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
diff options
context:
space:
mode:
authorJamie Garside <jgarside@google.com>2020-11-04 17:06:42 +0000
committerJamie Garside <jgarside@google.com>2021-02-03 12:29:00 +0000
commit6c5bfcb40fdcf2499098daad37577e7ead67699a (patch)
treebcd3cd84ae02e5a140b4da461e31348283f624ce /packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
parent7de88bceb9421d6a298d35ae5dcc9bee180f6351 (diff)
Update the bouncer to be able to move to either side of a wide screen.
This is currently enabled by settings persist.sysui.keyguard.one_handed_keyguard_enabled to true. If enabled, this will cause "one-handed able" security modes to be measured with half of the width of the SecurityViewContainer. Tapping either side of the screen will then move the keyguard by changing the margins. There's some flaws here, but it's a start. There's a frame of the bouncer being on the wrong side of the screen if the keyguard is on the right, and it doesn't respond to opening/closing the device properly yet. Bug: b/170858298 Change-Id: Ib997b9b3cb4ca7a069c805c7a8f3a79434eebd4c Test: Incoming :)
Diffstat (limited to 'packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java')
-rw-r--r--packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java b/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
index 438cec8ef68f..c11877a8a963 100644
--- a/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
+++ b/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
@@ -283,6 +283,7 @@ public class SettingsBackupTest {
Settings.Global.EUICC_REMOVING_INVISIBLE_PROFILES_TIMEOUT_MILLIS,
Settings.Global.EUICC_SWITCH_SLOT_TIMEOUT_MILLIS,
Settings.Global.FANCY_IME_ANIMATIONS,
+ Settings.Global.ONE_HANDED_KEYGUARD_SIDE,
Settings.Global.FORCE_ALLOW_ON_EXTERNAL,
Settings.Global.FORCED_APP_STANDBY_ENABLED,
Settings.Global.FORCED_APP_STANDBY_FOR_SMALL_BATTERY_ENABLED,