summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMohammad Samiul Islam <samiul@google.com>2020-10-16 19:18:43 +0100
committerMohammad Samiul Islam <samiul@google.com>2020-11-03 18:53:07 +0000
commit2cc603b00a87e02a81cbf9d79645bd1e3efc277c (patch)
tree8a5169f86d9a544f5d64bcd9655796bc35efa467 /tools/aapt2/java/JavaClassGenerator.cpp
parent7eb1893c08130163852a7df2a53cb321dc493acc (diff)
Prevent exceptions during staged install from crashing system server
An unhandled exception during staged install at boot time will cause system server to crash and restart. Upon restart, staged install will resume again 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: If79073a9a40c70e8223acbc47a3da394eb54fb43 Merged-In: I9abec5d2401af95ecb095fa3c45960d2f15d4e74 (cherry picked from commit 1c3e99b6c5a13ec2d7a8d3e618ce459fec0de7b7)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions