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

Commit 83b42bf8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Handle the race condition in handling delayed app kills."

parents eb76858f de7e9a87
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4263,6 +4263,10 @@ public class ActivityManagerService extends IActivityManager.Stub
            if (isKillTimeout) {
                // It's still alive... maybe blocked at uninterruptible sleep ?
                final ProcessRecord successor = app.mSuccessor;
                if (successor == null) {
                    // There might be a race, nothing to do here.
                    return;
                }
                Slog.wtf(TAG, app.toString() + " " + app.getDyingPid()
                        + " refused to die while trying to launch " + successor
                        + ", cancelling the process start");