Skip to content
Snippets Groups Projects
Commit 123ba0f5 authored by Jing Ji's avatar Jing Ji Committed by Gerrit Code Review
Browse files

Merge "Do not kill ANR-ed debugged application" into main

parents dab518a0 f1e3a6d6
No related branches found
No related tags found
No related merge requests found
......@@ -299,6 +299,11 @@ class ProcessErrorStateRecord {
SparseBooleanArray lastPids = new SparseBooleanArray(20);
ActivityManagerService.VolatileDropboxEntryStates volatileDropboxEntriyStates = null;
if (mApp.isDebugging()) {
Slog.i(TAG, "Skipping debugged app ANR: " + this + " " + annotation);
return;
}
mApp.getWindowProcessController().appEarlyNotResponding(annotation, () -> {
latencyTracker.waitingOnAMSLockStarted();
synchronized (mService) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment