Add activity, file paths and fileProvider to manifest (AOSP)
This is similar to ag/862828 to enable sharing contacts using
background service.
Bug 26918008
Bug 26906732
Bug 22083005
Change-Id: I63e4e77d35d0584de6df9803c268abef45ef9e73
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 777faa3..3d04357 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -245,6 +245,9 @@
<activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
android:theme="@style/BackgroundOnlyTheme"/>
+ <activity android:name="com.android.contacts.common.vcard.ShareVCardActivity"
+ android:theme="@style/BackgroundOnlyTheme" />
+
<service
android:name="com.android.contacts.common.vcard.VCardService"
android:exported="false"/>
@@ -329,5 +332,15 @@
android:exported="false"
android:multiprocess="false"
/>
+
+ <provider
+ android:name="android.support.v4.content.FileProvider"
+ android:authorities="@string/contacts_file_provider_authority"
+ android:grantUriPermissions="true"
+ android:exported="false">
+ <meta-data
+ android:name="android.support.FILE_PROVIDER_PATHS"
+ android:resource="@xml/file_paths" />
+ </provider>
</application>
</manifest>