summaryrefslogtreecommitdiffstats
path: root/services/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 /services/java
parent7ce276b5a3f2e0938956171abd32d60c7f619d16 (diff)
downloadframeworks_base-5383f502e4479d117c89666fb2ee1ca53f3d27cf.zip
frameworks_base-5383f502e4479d117c89666fb2ee1ca53f3d27cf.tar.gz
frameworks_base-5383f502e4479d117c89666fb2ee1ca53f3d27cf.tar.bz2
Fix issue #3122240: Expose xlarge in GB.
Plus some other small API cleanup. Change-Id: I1a3c60f510f99224cccac9cc3f838f04141064f8
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/am/ActivityManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java
index aa2f784..6db4559 100644
--- a/services/java/com/android/server/am/ActivityManagerService.java
+++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -7051,7 +7051,7 @@ public final class ActivityManagerService extends ActivityManagerNative
} else if (adj >= SECONDARY_SERVER_ADJ) {
currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE;
} else if (adj >= HEAVY_WEIGHT_APP_ADJ) {
- currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_HEAVY_WEIGHT;
+ currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE;
} else if (adj >= PERCEPTIBLE_APP_ADJ) {
currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_PERCEPTIBLE;
} else if (adj >= VISIBLE_APP_ADJ) {