Merge "Mark the persistent flag while creating the ProcessRecord" into tm-qpr-dev am: ecab1860d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18821706 Change-Id: I56ec1ceefbe2673c5efc6b22bdadc3f02cb06d06 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -3007,9 +3007,10 @@ public final class ProcessList {
|
||||
hostingRecord.getDefiningUid(), hostingRecord.getDefiningProcessName());
|
||||
final ProcessStateRecord state = r.mState;
|
||||
|
||||
if (!mService.mBooted && !mService.mBooting
|
||||
if (!isolated && !isSdkSandbox
|
||||
&& userId == UserHandle.USER_SYSTEM
|
||||
&& (info.flags & PERSISTENT_MASK) == PERSISTENT_MASK) {
|
||||
&& (info.flags & PERSISTENT_MASK) == PERSISTENT_MASK
|
||||
&& (TextUtils.equals(proc, info.processName))) {
|
||||
// The system process is initialized to SCHED_GROUP_DEFAULT in init.rc.
|
||||
state.setCurrentSchedulingGroup(ProcessList.SCHED_GROUP_DEFAULT);
|
||||
state.setSetSchedGroup(ProcessList.SCHED_GROUP_DEFAULT);
|
||||
|
||||
Reference in New Issue
Block a user