Load replyall setting

Bug: 8374501
Change-Id: Ibf01a9c27ad05e3d6c1b172a255299d8af3b69ea
This commit is contained in:
Paul Westbrook 2013-03-12 21:28:26 -07:00
parent 25e966ed72
commit 88c80b775b

View File

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