Send parcelable account not just the name,

Change-Id: I4abb06662301690d88bf82ab69d1e5fc1a388169
This commit is contained in:
Mindy Pereira 2012-04-03 18:11:35 -07:00
parent 57c051f6f2
commit 150a47e250

View File

@ -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);