From be4e6aaa0252dd7da28b7aa85beba982538efa46 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 7 Jun 2013 13:25:29 -0700 Subject: Initial super-primitive process tracker. The goal of this is to keep track of what app processes are doing, to determine who is being abusive, when the system is getting into memory constrained situations, and help the user determine how to resolve this. Right now it doesn't really do any of that, just keeps track of how long every process has been running since boot. Also update the activity manager to use "cached" as the terminology for what it used to interchangeably call hidden and background processes, and switch ProcessMap over to using ArrayMap. Change-Id: I270b0006aab1f38e17b7d9b65728679173c343f2 --- services/java/com/android/server/am/UserStartedState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/java/com/android/server/am/UserStartedState.java') diff --git a/services/java/com/android/server/am/UserStartedState.java b/services/java/com/android/server/am/UserStartedState.java index 0e71f81..d3e73d5 100644 --- a/services/java/com/android/server/am/UserStartedState.java +++ b/services/java/com/android/server/am/UserStartedState.java @@ -22,7 +22,7 @@ import java.util.ArrayList; import android.app.IStopUserCallback; import android.os.UserHandle; -public class UserStartedState { +public final class UserStartedState { // User is first coming up. public final static int STATE_BOOTING = 0; // User is in the normal running state. -- cgit v1.1