From 9065c2af58a701217a1382f9f166928def7b0806 Mon Sep 17 00:00:00 2001 From: Silin Huang Date: Thu, 26 May 2022 09:29:00 -0700 Subject: [PATCH] Fix a systemui crash. QAW controller should use main executor to start UI intent. Test: manual Bug: 232969910 Change-Id: I53e1fc84d303ea13bab84db240baf7f27c8f8b78 --- .../systemui/wallet/controller/QuickAccessWalletController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/wallet/controller/QuickAccessWalletController.java b/packages/SystemUI/src/com/android/systemui/wallet/controller/QuickAccessWalletController.java index 8c842f162e246..4cbc709aadc4e 100644 --- a/packages/SystemUI/src/com/android/systemui/wallet/controller/QuickAccessWalletController.java +++ b/packages/SystemUI/src/com/android/systemui/wallet/controller/QuickAccessWalletController.java @@ -208,7 +208,7 @@ public class QuickAccessWalletController { public void startQuickAccessUiIntent(ActivityStarter activityStarter, ActivityLaunchAnimator.Controller animationController, boolean hasCard) { - mQuickAccessWalletClient.getWalletPendingIntent(mBgExecutor, + mQuickAccessWalletClient.getWalletPendingIntent(mExecutor, walletPendingIntent -> { if (walletPendingIntent != null) { startQuickAccessViaPendingIntent(walletPendingIntent, activityStarter,