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

Commit 0ba870e4 authored by Tim Murray's avatar Tim Murray
Browse files

AppErrors: unfreeze app before scheduling crash

Test: atest CtsPermissionTestCases:android.permission.cts.OneTimePermissionTest#testStickyServiceMaintainsPermissionOnRestart
Bug: 276653423
Change-Id: I6baca60872eb1bc2ba2c1f0bd7c66b70250c252c
parent bbbe3c79
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