diff options
author | Joe Onorato <joeo@google.com> | 2016-04-20 15:37:49 -0700 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2016-04-20 15:40:18 -0700 |
commit | 5719028766f51512beffa623db7ee682851570a0 (patch) | |
tree | 6aebe6a726d9217e9d40ac683e74d3de1d349da4 /tools/aapt2/diff/Diff.cpp | |
parent | 59c9a93fc268e226495d4ee8cf7c507c2ea2c433 (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/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions