commit | 86943a3de553d7a53ecee77bf937ab31fde6999a | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Tue Mar 02 18:01:29 2021 -0800 |
committer | Tianjie <xunchang@google.com> | Tue Mar 02 18:11:53 2021 -0800 |
tree | 3246ef696c99f8f63b5277c263c6dae6d3d76048 | |
parent | 1d0752ee9ecc1655f634b65a65438d298ac5907b [diff] |
Don't throw runtime exceptions in ResumeOnRebootServiceProvider In the current code, these IllegalStateExceptions from the ResumeOnRebootService will crash the system server. Since RoR failures are not fatal, rethrow the runtime exceptions as RemoteExceptions instead. Bug: 172780686 Test: atest FrameworksServicesTests:RebootEscrowManagerTests Change-Id: I3a9d78fc75212b0ea85d5be8e431b946abb1b4cc