This tile is gated by a feature flag and the QAW Client service availability.
Also add a new icon for the wallet tile as a fallback option - if it fails fetching the icon from QAW Client, the fallback icon will be used.
Bug: 180959290
Test: atest
Change-Id: I56bdbef5b4d5d41abacb598422d8a2a4716a79fd
Test: 1) Build with config_keyguard_user_switch_opens_qs_details=true,
2) Turn on TalkBack, 3) Click multi-user icon on lockscreen,
TalkBack should announce "Signed in as Owner, double-tap to choose
user"
Bug: 169783558
Change-Id: I9d06972a12e71d56d6ece263a7e132170b925434
Bug: 173826319
Bug: 158157476
Test: Used a test device that is registered via ZT
Test: atest SystemUITests:com.android.systemui.qs.QSSecurityFooterTest
Change-Id: Iff3630c3d4cb640115d04a6b8775a58db8d7ca6a
Restore behavior of the guest item in the keyguard user switcher to it's
original behavior:
- When signed in as guest, the guest item says "Remove guest"
- When no guest account exists, the guest item says "Add guest"
- When the guest exists but the current user is not guest, the guest
item says "Guest"
Additionally:
- Fix behavior of config_expandLockScreenUserSwitcher and
lockscreenSimpleUserSwitcher
- Remove "End guest session" button from keyguard user switcher
- Remove "End guest session" string from SystemUI
Test: Open keyguard user switcher as guest user
Bug: 169783558
Bug: 181358587
Change-Id: Ibce9b3c7f28467e199db067b4bfb36b9fa35e4b4
Bug: 173826319
Bug: 158157476
Test: Used a test device that is registered via ZT
Test: atest SystemUITests:com.android.systemui.statusbar.KeyguardIndicationControllerTest
Change-Id: I116c2996ad2dc96cada445fecef336460527952e
Now that ag/13665338 is in, we shouldn't see crashes related to the AlphaTintDrawableWrapper anymore, so we can try this again.
This is nearly identical to ag/13535305, with two changes:
1) we pass the Theme to getDrawable() so we don't see warnings in logcat about undefined theme attributes
2) we use a placeholder drawable in the XML drawables instead of @android:color/transparent, which caused issues with the first tint not being applied
Bug: 171441100
Test: atest SystemUITests
Test: manual
Change-Id: I91c6e6430bb15e4f921aa0bd45f505c26db5aca4
In this case, the tile shows INACTIVE with a message indicating that the
device is locked and doesn't open the dialog on click
Test: manual
Test: atest DeviceControlsTileTest
Fixes: 180923843
Change-Id: I95cc0d3b04b940b71c56752f3598598ce51170f9
Backup strings provided in the case of missing status text when icons
are provided. Implements three layouts to handle our different states.
Change-Id: I1cb81c42e4cdd75b000f52c402a7396897c0f027
Test: PeopleSpaceUtilsTest
Bug: 178792356
Making accessibility nodes for the top and bottom boundaries. They don't
do anything yet, just informational labeling.
Bug: 180062481
Test: Explore UI with switch access and talkback
Change-Id: Icc05fd865c70d32239e955745f1496bbd117529c
* Update QS menu network logging message if the
device is a organization owned device with a
managed profile or a BYOD device with a
managed profile.
Bug: 170460270
Test: atest com.android.systemui.qs.QSSecurityFooterTest
Change-Id: Ieda889d33d20858d90ae40b24fb78ef3e698677e
Demo video, since building is hard: https://drive.google.com/file/d/17lKjpHW0UGfHx7O9SPGb4VKxhRw1Vm87/view?usp=sharing
This is mostly cosmetic changes, other than the addition of the ringer drawer functionality.
TV uses the same controller but different layout files, which is why we do some null-checks to see whether the old ringer/icons are present.
Bug: 171441100
Test: atest SystemUITests
Test: manual
Change-Id: Id561cff010483b69d71ea9b48e7d17b500272073
Revert "Update icons and text for guest user"
Revert submission 13278947-new-guest-user-strings
Reason for revert: Use same strings and text as Android R
Reverted Changes:
I8e9b7992d:Update icons and text for guest user
I42c0b46fd:Update icons and text for guest user
Bug: 169783558
Change-Id: I69d8e45c14d6e3f6c78de1be4e5212b226553b0f
- 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
Final name is Reduce Brightness. QS label removed per final strings.
Test: Manual, atest ReduceBrightColorsTileTest
Bug: b/170970602
Change-Id: I3f436c2ee14d9cf479e6806f2f1d9391568426f2
Side labels default only depends on the overlay flag.
Slightly improve animations
Test: manual
Bug: 171319433
Change-Id: Id109c536aed49c1de432de335752e5f7631a0990
Refactor SizeCompatModeActivityController to WM Shell. The old one will
be removed in separate cl as there are some dependencies in other
packages.
This cl is mainly for refactor. Major change will come after.
Besides refactor, also changed the mActiveButtons key to TaskId, because
launcher Task will also trigger onTaskInfoChanged, but should not remove
the restart button on the same display.
Bug: 176061101
Bug: 178327644
Test: manually verify that the size compat restart button works as usual
Test: atest WMShellUnitTests:SizeCompatUIControllerTest
Test: atest WmTests:SizeCompatTests
Change-Id: I9143e079a1a945b76c3c56596976dd6ad2802897