Skip to content

Commit 7c18f21

Browse files
bgcngmzwliew
authored andcommitted
am: Fix mismerge
* The removal of this code was missed out during merge of tag 'android-6.0.1_r74' Change-Id: I57dc035f79b7e20c09a21d5242c20370ad6d34ce
1 parent 996c5b9 commit 7c18f21

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

services/core/java/com/android/server/am/ActivityManagerService.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3663,15 +3663,6 @@ private final void startProcessLocked(ProcessRecord app, String hostingType,
36633663
true /*replacingPid*/);
36643664
}
36653665
synchronized (mPidsSelfLocked) {
3666-
ProcessRecord oldApp;
3667-
// If there is already an app occupying that pid that hasn't been cleaned up
3668-
if ((oldApp = mPidsSelfLocked.get(startResult.pid)) != null && !app.isolated) {
3669-
// Clean up anything relating to this pid first
3670-
Slog.w(TAG, "Reusing pid " + startResult.pid
3671-
+ " while app is still mapped to it");
3672-
cleanUpApplicationRecordLocked(oldApp, false, false, -1,
3673-
true /*replacingPid*/);
3674-
}
36753666
this.mPidsSelfLocked.put(startResult.pid, app);
36763667
if (isActivityProcess) {
36773668
Message msg = mHandler.obtainMessage(PROC_START_TIMEOUT_MSG);

0 commit comments

Comments
 (0)