diff options
author | Adnan <adnan@cyngn.com> | 2014-08-29 14:26:24 -0700 |
---|---|---|
committer | Adnan <adnan@cyngn.com> | 2014-09-03 15:41:23 -0700 |
commit | 0dca5cb5af302cea494f79cb284b913be9d90c5e (patch) | |
tree | 23424db7e4e8d46054beb4dbc1c26818a2e20114 | |
parent | 0297ffb8be5e76467ccda7cae329af967bc9b07f (diff) | |
download | android_packages_apps_UnifiedEmail-0dca5cb5af302cea494f79cb284b913be9d90c5e.tar.gz android_packages_apps_UnifiedEmail-0dca5cb5af302cea494f79cb284b913be9d90c5e.tar.bz2 android_packages_apps_UnifiedEmail-0dca5cb5af302cea494f79cb284b913be9d90c5e.zip |
UnifiedEmail: Disable "Select All" from MultiPickContactActivity.
- RecipientEditTextView doesn't handle numerous calls for append()
very well. Thus, to temporarily patch the issue, we should disable
the ability to select all for email recipients.
- TODO: Long term fix here is to offload some of the logic from
RecipientEditTextView#append to a background thread.
Change-Id: I594f06432b3fbb4a8f90e27a7e37aeffb29d472f
-rw-r--r-- | src/com/android/mail/compose/ComposeActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/mail/compose/ComposeActivity.java b/src/com/android/mail/compose/ComposeActivity.java index d3ec5a843..d23f2048c 100644 --- a/src/com/android/mail/compose/ComposeActivity.java +++ b/src/com/android/mail/compose/ComposeActivity.java @@ -135,6 +135,9 @@ public class ComposeActivity extends Activity implements OnClickListener, OnNavi public static final int FORWARD_DROP_UNLOADED_ATTS = 3; public static final int EDIT_DRAFT = 4; + // Match MultiPickContactActivity + public static final String IS_SELECT_ALL_DISALLOWED = "is_select_all_disallowed"; + // Integer extra holding one of the above compose action protected static final String EXTRA_ACTION = "action"; @@ -3066,6 +3069,7 @@ public class ComposeActivity extends Activity implements OnClickListener, OnNavi intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.setType(Contacts.CONTENT_TYPE); + intent.putExtra(IS_SELECT_ALL_DISALLOWED, true); startActivityForResult(intent, requestCode); // Set the focus to body view. |