Merge "Update UidRecord when capability changes."
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce409f3638
@@ -330,6 +330,7 @@ public final class OomAdjuster {
|
||||
// If this proc state is changed, need to update its uid record here
|
||||
if (uidRec.getCurProcState() != PROCESS_STATE_NONEXISTENT
|
||||
&& (uidRec.setProcState != uidRec.getCurProcState()
|
||||
|| uidRec.setCapability != uidRec.curCapability
|
||||
|| uidRec.setWhitelist != uidRec.curWhitelist)) {
|
||||
ActiveUids uids = mTmpUidRecords;
|
||||
uids.clear();
|
||||
|
||||
Reference in New Issue
Block a user