Merge "Fix a crash on the lock screen wallet icon." into tm-dev am: 334d03f4b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18455851 Change-Id: I4beb13d255c586842da5a18f5c9367eaf8f52bd2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1195,10 +1195,10 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
|
||||
public void onWalletCardsRetrieved(@NonNull GetWalletCardsResponse response) {
|
||||
mHasCard = !response.getWalletCards().isEmpty();
|
||||
Drawable tileIcon = mQuickAccessWalletController.getWalletClient().getTileIcon();
|
||||
if (tileIcon != null) {
|
||||
mWalletButton.setImageDrawable(tileIcon);
|
||||
}
|
||||
post(() -> {
|
||||
if (tileIcon != null) {
|
||||
mWalletButton.setImageDrawable(tileIcon);
|
||||
}
|
||||
updateWalletVisibility();
|
||||
updateAffordanceColors();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user