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

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

Merge "ActivityManagerService: ensure updateOomAdjLocked gets called early"...

Merge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into pi-dev am: 3148dbf8
am: 16130241

Change-Id: I4dc86dc5de5aede0d839aaca88837d60922740ae
parents 31d433f5 16130241
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);