diff options
author | Peter Kalauskas <peskal@google.com> | 2020-12-23 14:10:13 -0800 |
---|---|---|
committer | Peter Kalauskas <peskal@google.com> | 2021-02-10 15:37:05 -0800 |
commit | 1970915c2c88c05ca8d5f669a72ff22c2f4beef2 (patch) | |
tree | f03cef845616494245ab23f676328f98780451a6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0c27903d9d1c245dce5cacbfbafd997f89d85297 (diff) |
New keyguard user switcher
- Use ViewController for KeyguardUserSwitcher, name this
KeyguardUserSwitcherController
- Create KeyguardUserSwitcherListView. Separate view container and
controller code.
- Daggerize KeyguardUserSwitcherController
- Move KeyguardUserSwitcher from NotificationsQuickSettingsContainer to
NotificationPanelView
- Hide clock and notification when keyguard user switcher is open
- Show "End guest session" button when switcher is open and user is
guest
- Introduce listener for user switcher state
- Change icon of guest when current so that it does not show exit icon
- Disallow guest exit via user switcher list item
- Propagate dark amount to keyguard user switcher
- Updated styles
Known issues:
- If repeatedly pressing KEYCODE_POWER while switching between users,
the clock will sometimes get stuck in INVISIBLE state: b/179930842
- Multiple StrictMode violations are still present: b/179913579
Test: atest com.android.keyguard
Test: Build with config_keyguardUserSwitcher=false, enable multi-user,
check that user icon is in the status bar but not on the keyguard
above the clock
Test: Build with config_keyguardUserSwitcher=true, check that user icon
is visible on keyguard above the clock
Test: When config_keyguardUserSwitcher=true, tap user icon to open
keyguard user switcher, then open and close QS to verify that
the keyguard user switcher closes
Test: Check that user switcher is always open and visible on the lock
screen when simple user switcher is enabled:
adb shell settings put global lockscreenSimpleUserSwitcher 1 &&
adb shell stop &&
adb shell start
Bug: 169783558
Change-Id: Iaea4eae358873ae80748ca3eb9329f22bb2bb2ef
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions