summaryrefslogtreecommitdiff
path: root/core/java/android/app/ActivityManager.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-10-22 12:59:20 -0700
committerDianne Hackborn <hackbod@google.com>2010-10-22 12:59:20 -0700
commit5383f502e4479d117c89666fb2ee1ca53f3d27cf (patch)
tree3205788a98d26a3161916279d83e7fd5629fc92f /core/java/android/app/ActivityManager.java
parent7ce276b5a3f2e0938956171abd32d60c7f619d16 (diff)
Fix issue #3122240: Expose xlarge in GB.
Plus some other small API cleanup. Change-Id: I1a3c60f510f99224cccac9cc3f838f04141064f8
Diffstat (limited to 'core/java/android/app/ActivityManager.java')
-rw-r--r--core/java/android/app/ActivityManager.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java
index 5ae8a1f4941c..fe1e7d7e46cd 100644
--- a/core/java/android/app/ActivityManager.java
+++ b/core/java/android/app/ActivityManager.java
@@ -797,10 +797,12 @@ public class ActivityManager {
public static final int IMPORTANCE_PERCEPTIBLE = 130;
/**
- * Constant for {@link #importance}: this process is running a
- * heavy-weight application and thus should not be killed.
+ * Constant for {@link #importance}: this process is running an
+ * application that can not save its state, and thus can't be killed
+ * while in the background.
+ * @hide
*/
- public static final int IMPORTANCE_HEAVY_WEIGHT = 170;
+ public static final int IMPORTANCE_CANT_SAVE_STATE = 170;
/**
* Constant for {@link #importance}: this process is contains services