Merge "Guard against NPE when using existing process." into klp-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user