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

Commit f705e887 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Revert "Reduce total number of background apps for low memory devices"" into cm-10.2

parents 12c634af 389025ea
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;