Run QuickAccessWalletClientTest in full app mode.
This test is failing when run as an instant app.
The two components that this test checks are QuickAccessWalletClient,
which is a part of SysUI, which will never be an instant app, and a
QuickAccessWalletService, which is a service exposed in a different
app, which Instant Apps can't do. So it doesn't make sense to run this
test in instant app mode.
Cherry-pick of change made in master to tm-dev.
Fixes: 218720106
Test: atest
CtsQuickAccessWalletTestCases:android.quickaccesswallet.cts.QuickAccessWalletClientTest#testGetWalletPendingIntent_serviceWithOverride_notNull_ableToSend
-- --abi arm64-v8a --module-parameter instant_app
Change-Id: Ic5dcb69a8f59bc798802c76672df72430c431fdb
(cherry picked from commit 5719650efb81bd7409a69423c8b326de4af383fb)
diff --git a/tests/quickaccesswallet/src/android/quickaccesswallet/cts/QuickAccessWalletClientTest.java b/tests/quickaccesswallet/src/android/quickaccesswallet/cts/QuickAccessWalletClientTest.java
index 8a5d528..0e794d0 100755
--- a/tests/quickaccesswallet/src/android/quickaccesswallet/cts/QuickAccessWalletClientTest.java
+++ b/tests/quickaccesswallet/src/android/quickaccesswallet/cts/QuickAccessWalletClientTest.java
@@ -28,6 +28,7 @@
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
+import android.platform.test.annotations.AppModeFull;
import android.provider.Settings;
import android.quickaccesswallet.NoPermissionQuickAccessWalletService;
import android.quickaccesswallet.QuickAccessWalletActivity;
@@ -69,6 +70,7 @@
* Tests parceling of the {@link WalletCard}
*/
@RunWith(AndroidJUnit4.class)
+@AppModeFull
public class QuickAccessWalletClientTest {
private static final String SETTING_KEY = "lockscreen_show_wallet";