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

Commit 6466126a authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #18683980: questions on LMK memory changes

Getting the denominator right is kind of important.

Change-Id: Iff02a0a95eccd1231042e4ea96011c8cee0fee02
parent 5a267e72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ final class ProcessList {
        if (Build.SUPPORTED_64_BIT_ABIS.length > 0) {
            // Increase the high min-free levels for cached processes for 64-bit
            mOomMinFreeHigh[4] = (mOomMinFreeHigh[4]*3)/2;
            mOomMinFreeHigh[5] = (mOomMinFreeHigh[5]*7)/8;
            mOomMinFreeHigh[5] = (mOomMinFreeHigh[5]*7)/4;
        }

        for (int i=0; i<mOomAdj.length; i++) {