diff options
author | Charles Chen <charlesccchen@google.com> | 2019-11-11 20:39:02 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2019-12-19 17:02:30 +0800 |
commit | 173ae7806e7340568ac5d1e5d559368459a601ba (patch) | |
tree | cce987b90b4c79e7ce006a8d61f09fcf7769102e /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 247901bb4f97b7ecbc6da4995a520b54cf392612 (diff) |
Enable show error dialogs on the secondary display
There are four kinds of error dialogs showing on devices. We'll take different approaches on them:
1. AppErrorDialog: show on displays with app crashed windows. If none, show on the last used display.
2. AppAnrDialog: show on displays with ANR windows. If none, show on the last used display.
For background ANR(if users enable it), show on the last used display.
3. StrictModeViolationDialog: show on displays with violated app located.
If none, show on the last used display.
4. DebugWaitingDialog: show on the last used display.
Also introduce ErrorDialogController to consolidate error dialog logic
in ProcessRecord and use another variable for StrictModeViolationDialog.
fixes 117877476
Test: atest ProcessRecordTests AppErrorDialogTest
Test: atest AmStartOptionsTests#testDashD
Change-Id: Iddd3a2ce0d1037a9a294ce6cb51f181f998cd42e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions