summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2016-04-20 15:37:49 -0700
committerJoe Onorato <joeo@google.com>2016-04-20 15:40:18 -0700
commit5719028766f51512beffa623db7ee682851570a0 (patch)
tree6aebe6a726d9217e9d40ac683e74d3de1d349da4 /tools/aapt2/java/JavaClassGenerator.cpp
parent59c9a93fc268e226495d4ee8cf7c507c2ea2c433 (diff)
If a crash dialog can't be shown, just kill the process.
scheduleCrash() calls into the app process to ask it to nicely show the crash dialog. If that call fails, rather than just silently stopping, kill the process right away. It might be out of control. This also adds an additional check for killedByAm to the flow there so if the activity manager already has killed it, the dialog won't be shown. Bug: 28196243 Change-Id: I979f01074e5890640e7b06e29eeb0d6c38803569
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions