Moving vcard UI to ContactsCommon.
Moving all class in vcard directory in preparation to move
ImportExportDialogFragment.
Bug: 6993891
Change-Id: Ibf82b3b69a2ce81e78466fea5d2a88d180084bd1
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d3ac0ee..0dcd500 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -171,6 +171,44 @@
android:label="@string/custom_list_filter"
android:theme="@style/ContactListFilterTheme"/>
+ <!-- vCard related -->
+ <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
+ android:configChanges="orientation|screenSize|keyboardHidden"
+ android:theme="@style/BackgroundOnlyTheme">
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW"/>
+ <data android:mimeType="text/directory"/>
+ <data android:mimeType="text/vcard"/>
+ <data android:mimeType="text/x-vcard"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
+ android:configChanges="orientation|screenSize|keyboardHidden"
+ android:theme="@style/BackgroundOnlyTheme">
+ <intent-filter>
+ <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
+ <data android:mimeType="text/vcard"/>
+ <data android:mimeType="text/x-vcard"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <activity android:name="com.android.contacts.common.vcard.CancelActivity"
+ android:theme="@style/BackgroundOnlyTheme"/>
+
+ <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
+ android:theme="@style/BackgroundOnlyTheme"/>
+
+ <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
+ android:theme="@style/BackgroundOnlyTheme"/>
+
+ <service
+ android:name="com.android.contacts.common.vcard.VCardService"
+ android:exported="false"/>
+ <!-- end vCard related -->
+
<receiver android:name=".calllog.CallLogReceiver"
android:enabled="@*android:bool/config_voice_capable">
<intent-filter>