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

Commit f54954f9 authored by Craig Mautner's avatar Craig Mautner Committed by Gerrit Code Review
Browse files

Merge "bug fix possible NPE while startProcessLocked()"

parents 50f513c5 8f6fc815
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3039,12 +3039,12 @@ public final class ActivityManagerService extends ActivityManagerNative
        if (app == null) {
            checkTime(startTime, "startProcess: creating new process record");
            app = newProcessRecordLocked(info, processName, isolated, isolatedUid);
            app.crashHandler = crashHandler;
            if (app == null) {
                Slog.w(TAG, "Failed making new process record for "
                        + processName + "/" + info.uid + " isolated=" + isolated);
                return null;
            }
            app.crashHandler = crashHandler;
            mProcessNames.put(processName, app.uid, app);
            if (isolated) {
                mIsolatedProcesses.put(app.uid, app);