commit | c73fe01f1607fb4b1f9afb98fc46960623fef483 | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Wed May 05 17:34:15 2021 -0700 |
committer | Seth Moore <sethmo@google.com> | Wed May 05 17:41:38 2021 -0700 |
tree | 78b533958f763949395fba826285a8352ba47d9a | |
parent | 7a622ea7ebc8396faf6e4b629f9467a34fb66fb3 [diff] |
Don't re-wrap DeviceIdAttestationExceptions Instead of always wrapping errors in a DeviceIdAttestationException, check to see if the underlying cause was originally a DeviceIdAttestationException. If so, unwrap the cause and just re-throw that, preserving the original error. Bug: 183827468 Test: GtsGmsCoreSecurityTestApp Change-Id: Iab78ccaff91dd1de615e1d2b18f709027aecd59e