Merge "Do not kill ANR-ed debugged application" into main
This commit is contained in:
commit
123ba0f593
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user