Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b15357c authored by Tim Murray's avatar Tim Murray Committed by Automerger Merge Worker
Browse files

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

parents 4714a437 46ef1884
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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