Update Intent passed to contacts.

Reduce the number of intent keys so that a more compact dialog can be
used.
Bug: 5483848

Change-Id: I4d3da4a2a1480996bb14c5f2698a6530508ba7e7
This commit is contained in:
Ben Komalo 2011-10-19 12:39:38 -07:00
parent 06aae17dfb
commit 2ca9441e8c

View File

@ -685,10 +685,6 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
final Intent intent = new Intent(ContactsContract.Intents.SHOW_OR_CREATE_CONTACT,
mailUri);
// Pass along full E-mail string for possible create dialog
intent.putExtra(ContactsContract.Intents.EXTRA_CREATE_DESCRIPTION,
senderEmail.toString());
// Only provide personal name hint if we have one
final String senderPersonal = senderEmail.getPersonal();
if (!TextUtils.isEmpty(senderPersonal)) {