am 94791108: Fix missed case for suppressing undo

* commit '947911082955d00014d1eccf04cd4b157d8cd8c6':
  Fix missed case for suppressing undo
This commit is contained in:
Paul Westbrook 2012-11-05 14:11:54 -08:00 committed by Android Git Automerger
commit aabcdacd50

View File

@ -3974,7 +3974,8 @@ outer:
String email = sender.getAddress();
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
} else {
throw new IllegalArgumentException("Can't update " + columnName + " in message");