diff options
author | Tianjie <xunchang@google.com> | 2021-03-23 15:10:00 -0700 |
---|---|---|
committer | Tianjie <xunchang@google.com> | 2021-03-29 14:36:04 -0700 |
commit | 5cdc8a48e84483603e77679ad1b20b028cba0082 (patch) | |
tree | e38fc02342d86ee25a554cf6c40823409490d98d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d7858116cae4eb2e5685649fff790db8c2552baf (diff) |
Catch security exceptions in RoR APIs
The security exceptions in RoR API caused the OTA reboot to stuck.
Since the error isn't related to the input of clients and clients
already have a fallback path; catch and and rethrow the security
exception as an IOException.
Bug: 183475757
Test: OTA falls back to normal reboot upon security exceptions
Change-Id: I359f2f85bd1f0f8734011aa2db24dd7abe0aaa03
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions