From 88c80b775bc8232955dcd0cd07e18aa6f9cbcd5c Mon Sep 17 00:00:00 2001 From: Paul Westbrook Date: Tue, 12 Mar 2013 21:28:26 -0700 Subject: [PATCH] Load replyall setting Bug: 8374501 Change-Id: Ibf01a9c27ad05e3d6c1b172a255299d8af3b69ea --- src/com/android/email/activity/setup/GeneralPreferences.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/android/email/activity/setup/GeneralPreferences.java b/src/com/android/email/activity/setup/GeneralPreferences.java index 9bfabcfb5..52d14d83d 100644 --- a/src/com/android/email/activity/setup/GeneralPreferences.java +++ b/src/com/android/email/activity/setup/GeneralPreferences.java @@ -168,10 +168,11 @@ public class GeneralPreferences extends EmailPreferenceFragment implements mSwipeDelete.setChecked(MailPrefs.ConversationListSwipeActions.DELETE.equals( mMailPrefs.getConversationListSwipeAction(false))); - final Preference replyAllPreference = - findPreference(MailPrefs.PreferenceKeys.DEFAULT_REPLY_ALL); + final CheckBoxPreference replyAllPreference = + (CheckBoxPreference) findPreference(MailPrefs.PreferenceKeys.DEFAULT_REPLY_ALL); // This preference is removed on tablets if (replyAllPreference != null) { + replyAllPreference.setChecked(mMailPrefs.getDefaultReplyAll()); replyAllPreference.setOnPreferenceChangeListener(this); }