From 0088c2bd43009f8a512646b8e726d1bc7269d687 Mon Sep 17 00:00:00 2001 From: Cintia Martins Date: Wed, 9 Nov 2022 18:11:06 +0000 Subject: [PATCH] =?UTF-8?q?Included=20=E2=80=98queries=E2=80=99=20tag=20in?= =?UTF-8?q?=20AndroidManifest=20to=20enable=20access=20to=20dummyapp.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For Android 11 and higher it is required to add a ‘queries’ tag into the application's AndroidManifest for it to be able to find other application packages (see https://developer.android.com/training/package-visibility). Without this tag, the target package is not visible and queryIntentActivities() returns null. Bug: 255301879 Test: Unit Test Change-Id: I265b14da2bcbc2b3b49f10729a68450169ac46bf --- apct-tests/perftests/multiuser/AndroidManifest.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apct-tests/perftests/multiuser/AndroidManifest.xml b/apct-tests/perftests/multiuser/AndroidManifest.xml index 63e5983401d72..5befa1f1d4d4d 100644 --- a/apct-tests/perftests/multiuser/AndroidManifest.xml +++ b/apct-tests/perftests/multiuser/AndroidManifest.xml @@ -35,4 +35,8 @@ + + + +