Merge "Collect screenshot on test failure" into main
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b04519c..9eea97d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -46,6 +46,15 @@
     from the portal can be useful. -->
     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
 
+    <!-- In order to support CustomTabsClient#getPackageName method to query the PackageManager
+    to determine which packages support the Custom Tabs API. On apps that target Android 11
+    and above, this requires adding the following package visibility elements to the manifest.-->
+    <queries>
+        <intent>
+            <action android:name="android.support.customtabs.action.CustomTabsService" />
+        </intent>
+    </queries>
+
     <application android:label="@string/app_name"
                  android:icon="@drawable/app_icon"
                  android:usesCleartextTraffic="true"