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

Commit 2ffa50df authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Guard against NPE when using existing process.

Bug: 11167561
Change-Id: I51ca7daa71504119fb64bc7bc2b7da4e03b13861
parent d606be25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7555,7 +7555,7 @@ public final class ActivityManagerService extends ActivityManagerNative
                        // Use existing process if already started
                        ProcessRecord proc = getProcessRecordLocked(
                                cpi.processName, cpr.appInfo.uid, false);
                        if (proc != null) {
                        if (proc != null && proc.thread != null) {
                            if (DEBUG_PROVIDER) {
                                Slog.d(TAG, "Installing in existing process " + proc);
                            }