commit | 5719028766f51512beffa623db7ee682851570a0 | [log] [tgz] |
---|---|---|
author | Joe Onorato <joeo@google.com> | Wed Apr 20 15:37:49 2016 -0700 |
committer | Joe Onorato <joeo@google.com> | Wed Apr 20 15:40:18 2016 -0700 |
tree | 6aebe6a726d9217e9d40ac683e74d3de1d349da4 | |
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