summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorBrian Attwell <brianattwell@google.com>2015-03-02 14:48:50 -0800
committerBrian Attwell <brianattwell@google.com>2015-03-03 10:10:43 -0800
commitd2962a3bb669a381d31a586df3b906033a8fa571 (patch)
tree90e6e2dcf2660ad405a676e99d5771ee47f80f0c /res/values
parentc00112f667c70df6ce6791c799b11a477392e3af (diff)
downloadpackages_apps_Contacts-d2962a3bb669a381d31a586df3b906033a8fa571.tar.gz
packages_apps_Contacts-d2962a3bb669a381d31a586df3b906033a8fa571.tar.bz2
packages_apps_Contacts-d2962a3bb669a381d31a586df3b906033a8fa571.zip
Batch deletion
Also: when re-opening the Activity from the launcher, clear the mIsInSelectionMode variable in memory. Bug: 19549465 Change-Id: If589983d3d84c9c18066da08f9879c22db1a75ed
Diffstat (limited to 'res/values')
-rw-r--r--res/values/ids.xml4
-rw-r--r--res/values/strings.xml9
2 files changed, 12 insertions, 1 deletions
diff --git a/res/values/ids.xml b/res/values/ids.xml
index b5a230f1b..7f6a51fcc 100644
--- a/res/values/ids.xml
+++ b/res/values/ids.xml
@@ -20,9 +20,11 @@
<item type="id" name="dialog_sync_add"/>
<!-- For ContactDeletionInteraction -->
- <item type="id" name="dialog_delete_contact_confirmation"/>
<item type="id" name="dialog_delete_contact_loader_id" />
+ <!-- For ContactMultiDeletionInteraction -->
+ <item type="id" name="dialog_delete_multiple_contact_loader_id" />
+
<!-- For PhoneNumberInteraction -->
<item type="id" name="dialog_phone_number_call_disambiguation"/>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 3a1a55d98..ed8d6ae60 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -180,6 +180,15 @@
<!-- Warning dialog contents after users selects to delete a contact with ReadOnly and Writable sources. -->
<string name="readOnlyContactDeleteConfirmation">This contact contains information from multiple accounts. Information from read-only accounts will be hidden in your contacts lists, not deleted.</string>
+ <!-- Confirmation dialog. Shown after user selects to delete writable contacts. [CHAR LIMIT=NONE] -->
+ <string name="batch_delete_confirmation">The selected contacts will be deleted.</string>
+
+ <!-- Confirmation dialog. Shown after user selects to delete readonly contacts. [CHAR LIMIT=NONE] -->
+ <string name="batch_delete_read_only_contact_confirmation">Information from read-only accounts will be hidden in your contacts lists, not deleted.</string>
+
+ <!-- Confirmation dialog. Shown after user selects to delete contacts from multiple accounts. [CHAR LIMIT=NONE] -->
+ <string name="batch_delete_multiple_accounts_confirmation">These contacts contains information from multiple accounts. Information from read-only accounts will be hidden in your contacts lists, not deleted.</string>
+
<!-- Warning dialog contents after users selects to delete a contact with multiple Writable sources. -->
<string name="multipleContactDeleteConfirmation">Deleting this contact will delete information from multiple accounts.</string>