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

Commit 389025ea authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

Revert "Reduce total number of background apps for low memory devices"

This reverts commit 82289c1e.

Change-Id: Ic4ef44c9219030041a5436bab74fce9ce7c8879c
parent 63e91f59
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import com.android.server.wm.WindowManagerService;
import android.graphics.Point;
import android.util.Slog;
import android.view.Display;
import android.os.SystemProperties;

/**
 * Activity manager code dealing with processes.
@@ -102,7 +101,7 @@ class ProcessList {
    // The maximum number of hidden processes we will keep around before
    // killing them; this is just a control to not let us go too crazy with
    // keeping around processes on devices with large amounts of RAM.
    static final int MAX_HIDDEN_APPS = SystemProperties.getInt("ro.sys.fw.bg_apps_limit", 24);
    static final int MAX_HIDDEN_APPS = 24;

    // We allow empty processes to stick around for at most 30 minutes.
    static final long MAX_EMPTY_TIME = 30*60*1000;