Disable attachment preview pref.

Bug: 10232077
Change-Id: If1ed251d63befd40dc55ada2da7c56f5ac611c68
This commit is contained in:
Yu Ping Hu 2013-08-07 18:09:13 -07:00
parent 94e6b5d9bd
commit bf0911f3de
2 changed files with 7 additions and 1 deletions

View File

@ -55,12 +55,15 @@
android:entryValues="@array/prefValues_conversationListIcon"
android:dialogTitle="@string/prefDialogTitle_conversationListIcon" />
<!-- TODO: Uncomment this when attachment previews are fully implemented. -->
<!--
<CheckBoxPreference
android:key="conversation_list_attachment_previews"
android:persistent="false"
android:defaultValue="true"
android:title="@string/preference_attachment_previews_title"
android:summary="@string/preference_attachment_previews_description" />
-->
<!-- This may be removed in GeneralPreferences.java -->
<CheckBoxPreference

View File

@ -57,7 +57,7 @@ public class GeneralPreferences extends EmailPreferenceFragment implements
private CheckBoxPreference mConfirmDelete;
private CheckBoxPreference mConfirmSend;
private ListPreference mConvListIcon;
private CheckBoxPreference mConvListAttachmentPreviews;
//private CheckBoxPreference mConvListAttachmentPreviews;
private CheckBoxPreference mSwipeDelete;
private boolean mSettingsChanged = false;
@ -165,10 +165,13 @@ public class GeneralPreferences extends EmailPreferenceFragment implements
mConvListIcon.setOnPreferenceChangeListener(this);
}
// TODO: Uncomment this when attachment previews are fully implemented.
/*
mConvListAttachmentPreviews = (CheckBoxPreference) findPreference(
PREFERENCE_KEY_CONV_LIST_ATTACHMENT_PREVIEWS);
mConvListAttachmentPreviews.setChecked(mMailPrefs.getShowAttachmentPreviews());
mConvListAttachmentPreviews.setOnPreferenceChangeListener(this);
*/
mConfirmDelete = (CheckBoxPreference) findPreference(PREFERENCE_KEY_CONFIRM_DELETE);
mConfirmSend = (CheckBoxPreference) findPreference(PREFERENCE_KEY_CONFIRM_SEND);