Merge "AppErrors: unfreeze app before scheduling crash" into udc-dev

This commit is contained in:
Tim Murray
2023-04-05 19:40:32 +00:00
committed by Android (Google) Code Review

View File

@@ -534,6 +534,8 @@ class AppErrors {
}
}
mService.mOomAdjuster.mCachedAppOptimizer.unfreezeProcess(initialPid,
CachedAppOptimizer.UNFREEZE_REASON_PROCESS_END);
proc.scheduleCrashLocked(message, exceptionTypeId, extras);
if (force) {
// If the app is responsive, the scheduled crash will happen as expected