Make UI responsive to UniversalTransport upgrades.

This commit is contained in:
Moxie Marlinspike
2013-11-18 13:16:18 -08:00
parent 07b7696937
commit dadabdfaa8
9 changed files with 50 additions and 26 deletions

View File

@@ -166,6 +166,10 @@ public class SmsDatabase extends Database implements MmsSmsColumns {
updateTypeBitmask(id, 0, Types.KEY_EXCHANGE_CORRUPTED_BIT);
}
public void markAsSecure(long id) {
updateTypeBitmask(id, 0, Types.SECURE_MESSAGE_BIT);
}
public void markAsDecryptFailed(long id) {
updateTypeBitmask(id, Types.ENCRYPTION_MASK, Types.ENCRYPTION_REMOTE_FAILED_BIT);
}