Make build deprecation more resilient to clock skew.

This commit is contained in:
Greyson Parrelli
2024-06-06 10:14:09 -04:00
committed by Alex Hart
parent f572eb5322
commit 3ff218f9c6
11 changed files with 122 additions and 13 deletions

View File

@@ -165,7 +165,8 @@ final class CdsiSocket {
webSocket.close(1000, "OK");
break;
}
} catch (IOException | AttestationDataException | SgxCommunicationFailureException e) {
} catch (IOException | AttestationDataException | SgxCommunicationFailureException | AssertionError e) {
// TODO only catching AssertionError because of libsignal bug. Remove when bug is fixed.
Log.w(TAG, e);
webSocket.close(1000, "OK");
emitter.tryOnError(e);