QuickAccessWalletQuickAffordance Config shouldn't check older setting.
Because the setting is now unavailable in favor of the picker and the config was also checking the setting, users could get into a situation where they had "show wallet on lockscreen" disabled, upgrade to the custom shortcuts experience, then not be able to select the wallet shortcut. The KeyguardQuickaffordanceLegacySettingSyncer already handles this. If the user previously has "show wallet on lockscreen" set to disabled, then they update to use custom shortcuts, this Syncer will deselect the Wallet as a quick affordance by default. The QuickAccessWalletKeyguardQuickAffordanceConfig shouldn't rely on this setting, as it creates an unbreakable cyclical dependency. Bug: b/284678447 Test: atest QuickAccessWalletKeyguardQuickAffordanceConfigTest.kt Test: manual - flash prior version of anddroid without custom shortcuts. Set "show wallet on lockscreen" setting to "false" (but otherwise have a working and set up wallet). Upgrade to version with custom shortcuts. Validate that "None" is selected, instead of "wallet". This is thanks to the KeyguardQuickAffordanceLegacySettingSyncer handling this case. Change-Id: Ic3e98a2e00d3dc46dc2ec05390eebb703e55732c
Loading
Please register or sign in to comment