Expose ContactSelectionActivity to Instant Apps
This is needed for Instant Apps to be able to use the Contacts Picker
Bug: 34468723
Test: cts-tradefed run commandAndExit cts-dev -m
CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Test: Manually verified that ACTION_PICK works from an Instant App
Change-Id: Id091fd0172d450078807f5e78518027a77896898
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0b24489..8461a27 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -183,7 +183,8 @@
android:launchMode="singleTop"
android:theme="@style/ContactPickerTheme"
android:uiOptions="splitActionBarWhenNarrow"
- android:windowSoftInputMode="adjustResize">
+ android:windowSoftInputMode="adjustResize"
+ android:visibleToInstantApps="true">
<intent-filter>
<action android:name="android.intent.action.INSERT_OR_EDIT"/>
<category android:name="android.intent.category.DEFAULT"/>