Merge "Set the pid of ProcessProfileRecord for system_server" into sc-dev
This commit is contained in:
@@ -1805,8 +1805,7 @@ public class ActivityManagerService extends IActivityManager.Stub
|
|||||||
0,
|
0,
|
||||||
new HostingRecord("system"));
|
new HostingRecord("system"));
|
||||||
app.setPersistent(true);
|
app.setPersistent(true);
|
||||||
app.mPid = MY_PID;
|
app.setPid(MY_PID);
|
||||||
app.getWindowProcessController().setPid(MY_PID);
|
|
||||||
app.mState.setMaxAdj(ProcessList.SYSTEM_ADJ);
|
app.mState.setMaxAdj(ProcessList.SYSTEM_ADJ);
|
||||||
app.makeActive(mSystemThread.getApplicationThread(), mProcessStats);
|
app.makeActive(mSystemThread.getApplicationThread(), mProcessStats);
|
||||||
addPidLocked(app);
|
addPidLocked(app);
|
||||||
|
|||||||
Reference in New Issue
Block a user