DO NOT MERGE Add notification for SIM import
This provides feedback to the user if the import takes some time. Also
moved SIM import into it's own service instead of ContactSaveService
to prevent blocking the save service with a long-running operation.
Test
manually verified that notification is displayed when contacts are
imported from the SIM card
Bug 32781237
Change-Id: I8f26e524a08b62f69ff06ddb45cec2db5e98fe24
(cherry picked from commit ba47b41205ddcc3872d52bede1f6aaffb4c874b8)
diff --git a/AndroidManifest_common.xml b/AndroidManifest_common.xml
index b2a3c88..2a0e3a0 100644
--- a/AndroidManifest_common.xml
+++ b/AndroidManifest_common.xml
@@ -394,6 +394,11 @@
android:name=".ContactSaveService"
android:exported="false" />
+ <!-- Service to import contacts from the SIM card -->
+ <service
+ android:name=".SimImportService"
+ android:exported="false" />
+
<!-- Attaches a photo to a contact. Started from external applications -->
<activity android:name=".activities.AttachPhotoActivity"
android:label="@string/attach_photo_dialog_title"