Also re-create the QAW client if the wallet feature is unavailable; and query the wallet cards only when the wallet feature is available.
Test: atest
Test: manual
Bug: 190036483
Change-Id: Ibad3429a6f77d3f8a474b577759e7b7193ad6f23
Bug: 188542158
Test: With config_guestUserAutoCreated=true, create guest, then reset
guest. Ensure all dialog strings are correct.
Change-Id: I8ad29c0c7ddc0c672cf8bdd0610db611bb30823e
Modify layout logic to range between 136dp x 51dp to 176dp x 221dp.
Fixes: 189146880
Test: locally modified dimens
Change-Id: I6544bee5b74afad0d8d845dc26caa37563fc4af9
Create a new frameworks config: config_guestUserAutoCreated.
If true,
- Device should always have a guest user available.
- Instead of showing "Add guest", the UI will show "Guest", and instead
of "Remove guest", there will be an option to "Reset guest"
- Guest user is always created on boot if it does not already exist
- New guest user is created any time current guest user is removed
For now, these behaviors will be handled by System UI and Settings.
In addition, a few changes were made to System UI to simplify the code.
These changes may also affect devices running without the new config:
- Move GuestResumeSessionReceiver.wipeGuestSession() to
UserSwitcherController
- New method: UserSwitcherController.createGuest()
- Introduce dependency from KeyguardViewMediator to
UserSwitcherController
- Introduce dependency from GuestResumeSessionReceiver to
UserSwitcherController
Bug: 188542158
Test: With config_guestUserAutoCreated=true, remove all guest users
using adb (`adb shell cmd user list -v --all` to find the user
ids, then remove each guest user with `adb shell pm remove-user
<id>`), reboot device, check that there is a new guest on boot.
Test: With config_guestUserAutoCreated=true, reboot device when there is
already a guest user, confirm that guest user was not wiped after
reboot is completed.
Test: With config_guestUserAutoCreated=true, switch to guest user,
select "Reset guest" from QS tile, select "Reset". Phone should
switch back to last active user, and QS tile should now show
"Guest" instead of "Add guest". Run `adb shell cmd user list -v
--all` to confirm guest has a new user id.
Test: With config_guestUserAutoCreated=false, confirm that "Add guest"
and "Remove guest" features remain unchanged
Change-Id: Ib1c8dd0a0796d95681167f51e12e3f4be21345af
Merged-In: Ib1c8dd0a0796d95681167f51e12e3f4be21345af
Allow wallet label to be determined by the service (same as in the
QuickAccessWalletTile)
Bug: 190505997
Test: visual
Change-Id: I4a81d4ca13f1bf828a223a36e492a79e8cfc63e4
Another change is a bug fix that do not use the cached "mWalletEnabled"
on cards querying, because that param is for the wallet preference only.
We use "cardsRetriever"s to handle querying cards on wallet
feature/service not available.
Also register the wallet service event listener to WalletActivity, this
enables the wallet activity finish after the user makes an NFC payment
tap.
Fixes: 189869634
Fixes: 187970986
Fixes: 188972317
Test: manual- see demo:
https: //drive.google.com/file/d/1I-vwffhRqR2HDHR8wQqitOqzH0tWjMEI/view?usp=sharing&resourcekey=0-3BZsJl_c7jzW7muwNG9hmA
Change-Id: If907cb5d6c89878d2a5a6a282284e3bf77f7188f
Smaller margins.
New text and bg color.
Update colors when switching to dark theme.
Lower elevation.
New text.
Bug: 188895666
Test: manual
Change-Id: I10fae63037994c3e6fcd91f989faee4828df55ed
Padding, color, and dynamic text resizing. See full details in
b/183084168.
Bug: 185131475, 183084168, 1804014433
Test: PeopleTileViewHelperTest
Change-Id: Ie6a4da771b9735ccce7b0549acfea4c17231d915
Update all strings to reference Quick Settings. When setting up
controls, directly link to the ControlsProviderSelectorActivity
instead of going through an intermediary screen that was only
necessary for the power menu.
Fixes: 187829179
Test: manual
Change-Id: Ida1cce6201f4dc3c16c533879df11ef9fee92c0b
Secondary label is now handled the same as the other tiles.
Also, removed old unnecessary strings.
Test: manual
Fixes: 187155474
Change-Id: Iab9bbc292bea8b21c5b8fc8adfc079b2079e39a7
When a11y features are enabled, inform the user
when the state of the lock screen changes.
Remove the window accessibility title on the udfps icon so that it won't
announce its window each time the udfps area receives focus. (ie:
previously was announcing "fingerprint sensor, SystemUI")
Add a label to the wallet affordance on the lock screen.
Test: manual
Fixes: 187139663
Fixes: 187190642
Fixes: 187082618
Fixes: 187080405
Change-Id: I4269b1943ec4d2e82eac9525947bb1903886f4f8
1. Individual card states (active, pendingActivation, suspended) have
their own header icon and label. When scrolling between cards that have
different states, the icon and label will fade in/out.
2. The pendingActivation cards will have a verification button
underneath the card view; the button text is parsed from cards label.
3. Add an overflow menu for wallet view, it will navigate to Lock Screen
Settings page. (TODO in next CL)
4. Update the way we render header icon: because gmscore now provide new
version of icons, the programmatical tweaks no longer needed on the SysUI side.
5. Add Falsing prevention for the locked state wallet view:
cardImage/actionButton/appButton
6. Other UI polish: change the Wallet Tile secondary label to card last4
digits, etc.
demo:
https://drive.google.com/file/d/1syNnPFdIGh24sHWU2So-wsPxZTIg7xI9/view?usp=sharing&resourcekey=0-Iw3ZotiOJlE8jPImK7QQhQ
Test: manual
Test: atest
Bug: 186496392
Bug: 150332483
Fix: 184057200
Fix: 184905963
Change-Id: I84f487154104ffe1636c98ef1538bf99102c0442
This CL collapses the hierarchy QSTileBaseView - QSTileView -
QSTileViewHorizontal into QSTileViewImpl. This can be done because now
there's a single type of view for the tiles. The benefit of this is that
we do not have to hack our way to undo things that are done in parent
classes. As part of this remove a lot of unnecessary files.
As part of this, bring some colors/sizes up to spec and make sure that
the sizes are reloaded in config changes.
Test: manual
Test: atest com.android.systemui.qs
Fixes: 187061459
Bug: 186057842
Change-Id: I63dbe8fa2b44833c11a486e84195e33e170c6f58
Update the long press text and remove the separate onboarding
screen
Test: atest NotificationConversationInfoTest
Fixes: 186100981
Change-Id: I8a90e99a4eaebf1e5136771856303e830a234d0a
Patch action:
Add the state or content description into the corresponding feature target.
Bug: 178289063
Test: atest AccessibilityTargetAdapterTest AccessibilityTargetAdapterTest
Change-Id: I2f421da027bc95021ab24cadf8b3afdc30fa6d4a