From 5383f502e4479d117c89666fb2ee1ca53f3d27cf Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 22 Oct 2010 12:59:20 -0700 Subject: Fix issue #3122240: Expose xlarge in GB. Plus some other small API cleanup. Change-Id: I1a3c60f510f99224cccac9cc3f838f04141064f8 --- services/java/com/android/server/am/ActivityManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/java') 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) { -- cgit v1.1