diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-06-07 13:25:29 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-06-07 15:09:17 -0700 |
commit | be4e6aaa0252dd7da28b7aa85beba982538efa46 (patch) | |
tree | aaa5181a0b440608a1ce783a37076635ce10bafc /services/java/com/android/server/am/UserStartedState.java | |
parent | 2df804462b5730b5889ddf6fb993d804edfbee81 (diff) | |
download | frameworks_base-be4e6aaa0252dd7da28b7aa85beba982538efa46.zip frameworks_base-be4e6aaa0252dd7da28b7aa85beba982538efa46.tar.gz frameworks_base-be4e6aaa0252dd7da28b7aa85beba982538efa46.tar.bz2 |
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
Diffstat (limited to 'services/java/com/android/server/am/UserStartedState.java')
-rw-r--r-- | services/java/com/android/server/am/UserStartedState.java | 2 |
1 files changed, 1 insertions, 1 deletions
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. |