Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1195,10 +1195,10 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL public void onWalletCardsRetrieved(@NonNull GetWalletCardsResponse response) { public void onWalletCardsRetrieved(@NonNull GetWalletCardsResponse response) { mHasCard = !response.getWalletCards().isEmpty(); mHasCard = !response.getWalletCards().isEmpty(); Drawable tileIcon = mQuickAccessWalletController.getWalletClient().getTileIcon(); Drawable tileIcon = mQuickAccessWalletController.getWalletClient().getTileIcon(); post(() -> { if (tileIcon != null) { if (tileIcon != null) { mWalletButton.setImageDrawable(tileIcon); mWalletButton.setImageDrawable(tileIcon); } } post(() -> { updateWalletVisibility(); updateWalletVisibility(); updateAffordanceColors(); updateAffordanceColors(); }); }); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1195,10 +1195,10 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL public void onWalletCardsRetrieved(@NonNull GetWalletCardsResponse response) { public void onWalletCardsRetrieved(@NonNull GetWalletCardsResponse response) { mHasCard = !response.getWalletCards().isEmpty(); mHasCard = !response.getWalletCards().isEmpty(); Drawable tileIcon = mQuickAccessWalletController.getWalletClient().getTileIcon(); Drawable tileIcon = mQuickAccessWalletController.getWalletClient().getTileIcon(); post(() -> { if (tileIcon != null) { if (tileIcon != null) { mWalletButton.setImageDrawable(tileIcon); mWalletButton.setImageDrawable(tileIcon); } } post(() -> { updateWalletVisibility(); updateWalletVisibility(); updateAffordanceColors(); updateAffordanceColors(); }); }); Loading