diff options
author | Mohammad Samiul Islam <samiul@google.com> | 2020-10-15 00:59:32 +0100 |
---|---|---|
committer | Mohammad Samiul Islam <samiul@google.com> | 2020-11-03 18:48:58 +0000 |
commit | 7eb1893c08130163852a7df2a53cb321dc493acc (patch) | |
tree | c6af0ea2cf42e3d029fae1203ea2df8f70d5fbcb /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | e7069bce3c9b1bb2fe4fcc4245f076917fddd3aa (diff) |
Prevent exceptions in pre-reboot verification from crashing system server
An unhandled exception during pre-reboot verification will cause system
server to crash and restart. Upon restart, pre-reboot verification will
be retried and it will cause system server to crash again. Thus creating
a loop.
Instead of allowing the exception to crash the system server, we now
catch it and fail the corresponding staged session with appropriate
message.
Bug: 170784748
Test: manual
Test: verified that without this fix, any unhandled exception sends
system server into a crash loop
Change-Id: Ie3343681601c072add0b2d50cbaa2e088a27d94b
Merged-In: If100796687906be67bc02ea63a78e1b6e291ce7a
(cherry picked from commit 5a2548589560404f9fce4914216564b0333895d4)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions