From b5049ebb518946a591920154f4350874881d4901 Mon Sep 17 00:00:00 2001 From: Martin Hibdon Date: Tue, 7 Jan 2014 16:38:26 -0800 Subject: [PATCH 1/9] Fix a crash bringing up settings Change-Id: If29fc7a4113ed7245cd82e6b26c63f08f4b9db2d --- src/com/android/email/activity/setup/AccountSettings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/email/activity/setup/AccountSettings.java b/src/com/android/email/activity/setup/AccountSettings.java index 00e4386e2..0a6e28339 100644 --- a/src/com/android/email/activity/setup/AccountSettings.java +++ b/src/com/android/email/activity/setup/AccountSettings.java @@ -344,6 +344,7 @@ public class AccountSettings extends PreferenceActivity implements FeedbackEnabl // We need to make sure that a fragment about to be attached is valid. This corrects // a security vulnerability. return (TextUtils.equals(AccountSettingsFragment.class.getName(), fragmentName) || + TextUtils.equals(GeneralPreferences.class.getName(), fragmentName) || super.isValidFragment(fragmentName)); } From dd2a3a31725fff14cd67c6994dbdcff3ff27562b Mon Sep 17 00:00:00 2001 From: Martin Hibdon Date: Thu, 20 Feb 2014 14:32:22 -0800 Subject: [PATCH 2/9] Fix temporary setup flow on tablets b/13105763 Change-Id: I63f6956afbbaceadfc1a77701c6f256705601c09 --- .../account_setup_basics.xml | 22 ++++++++----------- .../account_setup_basics.xml | 18 ++++++--------- 2 files changed, 16 insertions(+), 24 deletions(-) diff --git a/res/layout-sw600dp-land/account_setup_basics.xml b/res/layout-sw600dp-land/account_setup_basics.xml index 76c2e1503..085bd968b 100644 --- a/res/layout-sw600dp-land/account_setup_basics.xml +++ b/res/layout-sw600dp-land/account_setup_basics.xml @@ -46,29 +46,25 @@ android:background="@color/account_setup_divider_color" /> -