Remove attachment previews from Conversation List
This includes: - all references to the 3 attachment preview columns in the Gmail conversation table (except for migration code in MailStoreInitializer) - all layout and drawing code for attachment previews in conversation list - all assets related to attachment previews - all preference and analytics code that aided attachment previews NOTE: This does not alter, in any way, the display of attachments in conversation view. Change-Id: Iccefd2fcf146ccdad927e7911900f370baaf8a1d
This commit is contained in:
parent
f90dbc83e2
commit
a546307c1d
@ -3460,11 +3460,6 @@ public class EmailProvider extends ContentProvider
|
||||
values.put(UIProvider.AccountColumns.SettingsColumns.CONV_LIST_ICON,
|
||||
getConversationListIcon(mailPrefs));
|
||||
}
|
||||
if (projectionColumns.contains(
|
||||
UIProvider.AccountColumns.SettingsColumns.CONV_LIST_ATTACHMENT_PREVIEWS)) {
|
||||
values.put(UIProvider.AccountColumns.SettingsColumns.CONV_LIST_ATTACHMENT_PREVIEWS,
|
||||
"0");
|
||||
}
|
||||
if (projectionColumns.contains(UIProvider.AccountColumns.SettingsColumns.AUTO_ADVANCE)) {
|
||||
values.put(UIProvider.AccountColumns.SettingsColumns.AUTO_ADVANCE,
|
||||
Integer.toString(mailPrefs.getAutoAdvanceMode()));
|
||||
@ -3691,11 +3686,6 @@ public class EmailProvider extends ContentProvider
|
||||
values[colPosMap.get(UIProvider.AccountColumns.SettingsColumns.CONV_LIST_ICON)] =
|
||||
getConversationListIcon(mailPrefs);
|
||||
}
|
||||
if (colPosMap.containsKey(
|
||||
UIProvider.AccountColumns.SettingsColumns.CONV_LIST_ATTACHMENT_PREVIEWS)) {
|
||||
values[colPosMap.get(
|
||||
UIProvider.AccountColumns.SettingsColumns.CONV_LIST_ATTACHMENT_PREVIEWS)] = 0;
|
||||
}
|
||||
if (colPosMap.containsKey(UIProvider.AccountColumns.SettingsColumns.CONFIRM_DELETE)) {
|
||||
values[colPosMap.get(UIProvider.AccountColumns.SettingsColumns.CONFIRM_DELETE)] =
|
||||
mailPrefs.getConfirmDelete() ? 1 : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user