Disable attachment preview pref.
Bug: 10232077 Change-Id: If1ed251d63befd40dc55ada2da7c56f5ac611c68
This commit is contained in:
parent
94e6b5d9bd
commit
bf0911f3de
@ -55,12 +55,15 @@
|
|||||||
android:entryValues="@array/prefValues_conversationListIcon"
|
android:entryValues="@array/prefValues_conversationListIcon"
|
||||||
android:dialogTitle="@string/prefDialogTitle_conversationListIcon" />
|
android:dialogTitle="@string/prefDialogTitle_conversationListIcon" />
|
||||||
|
|
||||||
|
<!-- TODO: Uncomment this when attachment previews are fully implemented. -->
|
||||||
|
<!--
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="conversation_list_attachment_previews"
|
android:key="conversation_list_attachment_previews"
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:defaultValue="true"
|
android:defaultValue="true"
|
||||||
android:title="@string/preference_attachment_previews_title"
|
android:title="@string/preference_attachment_previews_title"
|
||||||
android:summary="@string/preference_attachment_previews_description" />
|
android:summary="@string/preference_attachment_previews_description" />
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- This may be removed in GeneralPreferences.java -->
|
<!-- This may be removed in GeneralPreferences.java -->
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
|
@ -57,7 +57,7 @@ public class GeneralPreferences extends EmailPreferenceFragment implements
|
|||||||
private CheckBoxPreference mConfirmDelete;
|
private CheckBoxPreference mConfirmDelete;
|
||||||
private CheckBoxPreference mConfirmSend;
|
private CheckBoxPreference mConfirmSend;
|
||||||
private ListPreference mConvListIcon;
|
private ListPreference mConvListIcon;
|
||||||
private CheckBoxPreference mConvListAttachmentPreviews;
|
//private CheckBoxPreference mConvListAttachmentPreviews;
|
||||||
private CheckBoxPreference mSwipeDelete;
|
private CheckBoxPreference mSwipeDelete;
|
||||||
|
|
||||||
private boolean mSettingsChanged = false;
|
private boolean mSettingsChanged = false;
|
||||||
@ -165,10 +165,13 @@ public class GeneralPreferences extends EmailPreferenceFragment implements
|
|||||||
mConvListIcon.setOnPreferenceChangeListener(this);
|
mConvListIcon.setOnPreferenceChangeListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Uncomment this when attachment previews are fully implemented.
|
||||||
|
/*
|
||||||
mConvListAttachmentPreviews = (CheckBoxPreference) findPreference(
|
mConvListAttachmentPreviews = (CheckBoxPreference) findPreference(
|
||||||
PREFERENCE_KEY_CONV_LIST_ATTACHMENT_PREVIEWS);
|
PREFERENCE_KEY_CONV_LIST_ATTACHMENT_PREVIEWS);
|
||||||
mConvListAttachmentPreviews.setChecked(mMailPrefs.getShowAttachmentPreviews());
|
mConvListAttachmentPreviews.setChecked(mMailPrefs.getShowAttachmentPreviews());
|
||||||
mConvListAttachmentPreviews.setOnPreferenceChangeListener(this);
|
mConvListAttachmentPreviews.setOnPreferenceChangeListener(this);
|
||||||
|
*/
|
||||||
|
|
||||||
mConfirmDelete = (CheckBoxPreference) findPreference(PREFERENCE_KEY_CONFIRM_DELETE);
|
mConfirmDelete = (CheckBoxPreference) findPreference(PREFERENCE_KEY_CONFIRM_DELETE);
|
||||||
mConfirmSend = (CheckBoxPreference) findPreference(PREFERENCE_KEY_CONFIRM_SEND);
|
mConfirmSend = (CheckBoxPreference) findPreference(PREFERENCE_KEY_CONFIRM_SEND);
|
||||||
|
Loading…
Reference in New Issue
Block a user