Save contacts to local file and share
We extend ExportVCardActivity in order to reuse VCarcService
to write contacts data to vcf file in background. This change
gets rid of TransactionTooLargeException and provides better
user experience, since we write data in background.
The current UX design is: user will receive Toast message
once export file is ready, and then user needs to tap the
notification to share contacts.
Bug 22083005
Change-Id: I7d7142f3037b1a0647d185d477365df8f2994271
(cherry picked from commit e6c7494bbafe1bef1187245510b1ec0beba6ce10)
diff --git a/res-common/values/donottranslate_config.xml b/res-common/values/donottranslate_config.xml
index a7142e2..d0e0b38 100644
--- a/res-common/values/donottranslate_config.xml
+++ b/res-common/values/donottranslate_config.xml
@@ -90,4 +90,7 @@
<string name="pref_open_source_licenses_key">pref_open_source_licenses</string>
<string name="pref_privacy_policy_key">pref_privacy_policy</string>
<string name="pref_terms_of_service_key">pref_terms_of_service</string>
+
+ <!-- File Authority for AOSP Contacts files -->
+ <string name="contacts_file_provider_authority">com.android.contacts.files</string>
</resources>