diff options
author | Brian Attwell <brianattwell@google.com> | 2015-06-26 11:31:57 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2015-06-28 22:34:51 +0000 |
commit | 9ff4c57b4043f7f13abe4fcfdbe0cb2328627bed (patch) | |
tree | a4cc3ec558a261bef1a127ce931dba3558766614 /res | |
parent | c6b6e25a87a0777fb7fad94e60e8e74bc81ab5a4 (diff) | |
download | android_packages_apps_ContactsCommon-9ff4c57b4043f7f13abe4fcfdbe0cb2328627bed.tar.gz android_packages_apps_ContactsCommon-9ff4c57b4043f7f13abe4fcfdbe0cb2328627bed.tar.bz2 android_packages_apps_ContactsCommon-9ff4c57b4043f7f13abe4fcfdbe0cb2328627bed.zip |
Catch transaction too large exception
If you are sharing a bazillion contacts, then the
shared intent's URI can be longer than the binder
limit. This causes a crash. For now, lets prevent
the crash from occuring and show a toast.
Bug: 22083005
Change-Id: I2028929a49240a1982301b46f7e2eb4b3d6239bb
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index de7a44d1..5400eec9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -682,6 +682,9 @@ a ren't members of any other group. [CHAR LIMIT=25] --> <!-- Action that shares visible contacts --> <string name="share_visible_contacts">Share visible contacts</string> + <!-- A framework exception (ie, transaction too large) can be thrown while attempting to share all visible contacts. If so, show this toast. --> + <string name="share_visible_contacts_failure">Failed to share visible contacts.</string> + <!-- Dialog title when selecting the bulk operation to perform from a list. [CHAR LIMIT=36] --> <string name="dialog_import_export">Import/export contacts</string> |