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

Commit 9972c85a authored by Michael Stucki's avatar Michael Stucki Committed by Gerrit Code Review
Browse files

Revert "frameworks/base: Make minfree values optimal for 32bit devices"

This reverts commit 0ef11bcb.

Revert minfree defaults to the same values that were used in cm-11.0.
Values are 40%, 50%, 60%, 70%, 80%, 100% of the EMPTY_APP value (last item).

Instead of changing this value, config_lowMemoryKillerMinFreeKbytesAbsolute
should be adjusted per device.

Fixes: NIGHTLIES-1361
Change-Id: Ic534f2a2676391182bb055e1126c6ed44f3205fa
parent 4c163346
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -207,8 +207,8 @@ final class ProcessList {
    };
    // These are the high-end OOM level limits for 32bit
    private final int[] mOomMinFreeHigh32Bit = new int[] {
            61440, 76800, 92160,
            107520, 137660, 174948
            49152, 61440, 73728,
            86016, 98304, 122880
    };
    // These are the low-end OOM level limits.  This is appropriate for an
    // HVGA or smaller phone with less than 512MB.  Values are in KB.