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

Commit 3148dbf8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 6fc7e38b 528b18b3
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);