From 150a47e25093b319ec4f81865c28d0a57845c3c1 Mon Sep 17 00:00:00 2001 From: Mindy Pereira Date: Tue, 3 Apr 2012 18:11:35 -0700 Subject: [PATCH] Send parcelable account not just the name, Change-Id: I4abb06662301690d88bf82ab69d1e5fc1a388169 --- .../src/com/android/email2/ui/CreateShortcutActivityEmail.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email2/src/com/android/email2/ui/CreateShortcutActivityEmail.java b/email2/src/com/android/email2/ui/CreateShortcutActivityEmail.java index 53bc489bd..0dc08ad47 100644 --- a/email2/src/com/android/email2/ui/CreateShortcutActivityEmail.java +++ b/email2/src/com/android/email2/ui/CreateShortcutActivityEmail.java @@ -39,7 +39,7 @@ public class CreateShortcutActivityEmail extends Activity { Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_FORWARD_RESULT); intent.setAction(Intent.ACTION_CREATE_SHORTCUT); intent.putExtra(FolderSelectionActivity.EXTRA_ACCOUNT_SHORTCUT, - cachedAccounts[0].toString()); + cachedAccounts[0]); } else { intent.setClass(this, MailboxSelectionActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);