Merge "Retain the ANR report on choosing wait/feedback in the ANR dialog"

This commit is contained in:
Jing Ji
2022-01-10 18:19:26 +00:00
committed by Android (Google) Code Review

View File

@@ -163,7 +163,9 @@ final class AppNotRespondingDialog extends BaseErrorDialog implements View.OnCli
synchronized (mService.mProcLock) {
errState.setNotResponding(false);
errState.setNotRespondingReport(null);
// We're not clearing the ANR report here, in case we'd need to report
// it again when the ANR dialog shows again.
// errState.setNotRespondingReport(null);
errState.getDialogController().clearAnrDialogs();
}
mService.mServices.scheduleServiceTimeoutLocked(app);