Merge "Fix a crash on the lock screen wallet icon." into tm-dev am: 334d03f4b6 am: 49de646863
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18455851 Change-Id: Ide9cba462c71c22f97b1bd11584947d823c5d5bc 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