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

Commit 0ef11bcb authored by Trishool Narayanasetty's avatar Trishool Narayanasetty Committed by Steve Kondik
Browse files

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

This change makes lowmemorykiller minfree values optimal for 32bit
devices. Arrived at these values after evaluating UX and launch
latencies.

Change-Id: Ia797ead2d330ec3347ee964ac5ec3dd6513134a4
parent 40e9a370
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[] {
            49152, 61440, 73728,
            86016, 98304, 122880
            61440, 76800, 92160,
            107520, 137660, 174948
    };
    // 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.