Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16130241 authored by Tim Murray's avatar Tim Murray Committed by android-build-merger
Browse files

Merge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into pi-dev

am: 3148dbf8

Change-Id: Ia7902146d83b84c5b22ec21770de359834a4a935
parents cd018f51 3148dbf8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3161,6 +3161,8 @@ public class ActivityManagerService extends IActivityManager.Stub
        // bind background thread to little cores
        // this is expected to fail inside of framework tests because apps can't touch cpusets directly
        // make sure we've already adjusted system_server's internal view of itself first
        updateOomAdjLocked();
        try {
            Process.setThreadGroupAndCpuset(BackgroundThread.get().getThreadId(),
                    Process.THREAD_GROUP_BG_NONINTERACTIVE);