Merge "Mark the persistent flag while creating the ProcessRecord" into tm-qpr-dev am: ecab1860d8 am: a1901eeb19
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18821706 Change-Id: I02d5e5e2a00cbd2305ff413abbdc6837ac86e8dd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -3100,9 +3100,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