Fix missed case for suppressing undo

Change-Id: I1393cf87f0372dfa20c46265ce9e26cbf34b15c2
This commit is contained in:
Paul Westbrook 2012-11-05 13:49:23 -08:00
parent c7636b8a47
commit 9479110829

View File

@ -3974,7 +3974,8 @@ outer:
String email = sender.getAddress(); String email = sender.getAddress();
prefs.setSenderAsTrusted(email); prefs.setSenderAsTrusted(email);
} }
} else if (columnName.equals(UIProvider.ConversationColumns.VIEWED)) { } else if (columnName.equals(UIProvider.ConversationColumns.VIEWED) ||
columnName.equals(UIProvider.ConversationOperations.Parameters.SUPPRESS_UNDO)) {
// Ignore for now // Ignore for now
} else { } else {
throw new IllegalArgumentException("Can't update " + columnName + " in message"); throw new IllegalArgumentException("Can't update " + columnName + " in message");