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

Commit 2371ab78 authored by Alan Stokes's avatar Alan Stokes Committed by Android (Google) Code Review
Browse files

Merge "Don't kill a new process for the sins of an old process."

parents 64996c3d 858ca242
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -14610,6 +14610,11 @@ public class ActivityManagerService extends IActivityManager.Stub
            if (index < 0) {
                ProcessList.remove(app.pid);
            }
            // Remove provider publish timeout because we will start a new timeout when the
            // restarted process is attaching (if the process contains launching providers).
            mHandler.removeMessages(CONTENT_PROVIDER_PUBLISH_TIMEOUT_MSG, app);
            mProcessList.addProcessNameLocked(app);
            app.pendingStart = false;
            mProcessList.startProcessLocked(app,