From c8ed7857613373646d472bba86f678fc5084e4b0 Mon Sep 17 00:00:00 2001 From: Jerry Xie Date: Thu, 27 Feb 2014 15:04:34 -0800 Subject: [PATCH] Get Email units to compile in mr2 branch Change-Id: I471a47f21ce75daf82f0a09b071119f995a76778 --- .../email/activity/setup/AccountSetupIncomingTests.java | 6 +++--- .../email/activity/setup/AccountSetupOptionsTests.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/com/android/email/activity/setup/AccountSetupIncomingTests.java b/tests/src/com/android/email/activity/setup/AccountSetupIncomingTests.java index e3538f8a7..202c27f8f 100644 --- a/tests/src/com/android/email/activity/setup/AccountSetupIncomingTests.java +++ b/tests/src/com/android/email/activity/setup/AccountSetupIncomingTests.java @@ -196,11 +196,11 @@ public class AccountSetupIncomingTests extends HostAuth auth = account.getOrCreateHostAuthRecv(context); HostAuth.setHostAuthFromString(auth, storeUriString); - Bundle extras = new Bundle(); - extras.putParcelable(SetupData.EXTRA_SETUP_DATA, new SetupData(SetupData.FLOW_MODE_NORMAL, account)); + /*Bundle extras = new Bundle(); + extras.putParcelable(SetupData.EXTRA_SETUP_DATA, new SetupData(SetupData.FLOW_MODE_NORMAL, account));*/ Intent intent = new Intent(Intent.ACTION_MAIN); - intent.putExtras(extras); +// intent.putExtras(extras); return intent; } diff --git a/tests/src/com/android/email/activity/setup/AccountSetupOptionsTests.java b/tests/src/com/android/email/activity/setup/AccountSetupOptionsTests.java index 296615854..09edf615f 100644 --- a/tests/src/com/android/email/activity/setup/AccountSetupOptionsTests.java +++ b/tests/src/com/android/email/activity/setup/AccountSetupOptionsTests.java @@ -28,7 +28,7 @@ import android.widget.SpinnerAdapter; import com.android.email.R; import com.android.email.activity.setup.AccountSetupOptions; -import com.android.email.activity.setup.SetupDataFragment; +//import com.android.email.activity.setup.SetupDataFragment; import com.android.email.activity.setup.SpinnerOption; import com.android.emailcommon.provider.Account; import com.android.emailcommon.provider.HostAuth;