Add CEILING variable for compatibility check
[auto-patcher.git] / patches / v6supercharger / jellybean / cm / 20120817 / services.patch
blob83ef7c3978872aaa367f3d390862dd07f14dd176
1 diff -Npru stock-services/smali/com/android/server/am/ActivityManagerService.smali v6-services/smali/com/android/server/am/ActivityManagerService.smali
2 --- stock-services/smali/com/android/server/am/ActivityManagerService.smali 2012-08-06 13:24:09.000000000 -0500
3 +++ v6-services/smali/com/android/server/am/ActivityManagerService.smali 2012-08-06 14:15:39.514527146 -0500
4 @@ -7914,7 +7914,7 @@
6 if-le v11, v2, :cond_119
8 - const/4 v11, 0x1
9 + const/4 v11, 0x3
11 const-string v2, "visible"
13 @@ -7983,7 +7983,7 @@
15 if-ne v0, v2, :cond_15a
17 - const/4 v11, 0x3
18 + const/4 v11, 0x4
20 const/16 v34, 0x0
22 @@ -8012,7 +8012,7 @@
24 if-ne v0, v2, :cond_173
26 - const/4 v11, 0x6
27 + const/4 v11, 0x1
29 const/16 v34, 0x0
31 @@ -8051,7 +8051,7 @@
33 if-lez v2, :cond_196
35 - const/4 v11, 0x7
36 + const/4 v11, 0x5
38 const/16 v34, 0x0
40 @@ -8104,7 +8104,7 @@
42 if-le v11, v2, :cond_1c5
44 - const/4 v11, 0x4
45 + const/4 v11, 0x7
47 const-string v2, "backup"
49 @@ -8181,7 +8181,7 @@
51 if-eq v0, v2, :cond_31a
53 - const/4 v2, 0x5
54 + const/4 v2, 0x6
56 if-le v11, v2, :cond_20a
58 @@ -8518,7 +8518,7 @@
60 if-le v11, v2, :cond_336
62 - const/4 v11, 0x5
63 + const/4 v11, 0x6
65 const-string v2, "started-services"
67 @@ -8533,7 +8533,7 @@
68 iput-boolean v2, v0, Lcom/android/server/am/ProcessRecord;->hidden:Z
70 :cond_336
71 - const/4 v2, 0x5
72 + const/4 v2, 0x6
74 if-le v11, v2, :cond_20a
76 @@ -8877,7 +8877,7 @@
77 goto :goto_43b
79 :cond_462
80 - const/4 v2, 0x1
81 + const/4 v2, 0x3
83 if-le v14, v2, :cond_467
85 @@ -8892,11 +8892,11 @@
87 iput-boolean v2, v0, Lcom/android/server/am/ProcessRecord;->pendingUiClean:Z
89 - const/4 v2, 0x1
90 + const/4 v2, 0x3
92 if-le v11, v2, :cond_43b
94 - const/4 v11, 0x1
95 + const/4 v11, 0x3
97 goto :goto_43b
99 diff -Npru stock-services/smali/com/android/server/am/ProcessList.smali v6-services/smali/com/android/server/am/ProcessList.smali
100 --- stock-services/smali/com/android/server/am/ProcessList.smali 2012-08-06 13:24:09.000000000 -0500
101 +++ v6-services/smali/com/android/server/am/ProcessList.smali 2012-08-06 14:15:39.514527146 -0500
102 @@ -4,7 +4,7 @@
105 # static fields
106 -.field static final BACKUP_APP_ADJ:I = 0x4
107 +.field static final BACKUP_APP_ADJ:I = 0x7
109 .field static final CONTENT_APP_IDLE_OFFSET:J = 0x3a98L
111 @@ -12,13 +12,13 @@
113 .field static final FOREGROUND_APP_ADJ:I = 0x0
115 -.field static final HEAVY_WEIGHT_APP_ADJ:I = 0x3
116 +.field static final HEAVY_WEIGHT_APP_ADJ:I = 0x4
118 .field static final HIDDEN_APP_MAX_ADJ:I = 0xf
120 .field static HIDDEN_APP_MIN_ADJ:I = 0x0
122 -.field static final HOME_APP_ADJ:I = 0x6
123 +.field static final HOME_APP_ADJ:I = 0x1
125 .field static final MAX_HIDDEN_APPS:I = 0xf
127 @@ -32,15 +32,15 @@
129 .field static final PERSISTENT_PROC_ADJ:I = -0xc
131 -.field static final PREVIOUS_APP_ADJ:I = 0x7
132 +.field static final PREVIOUS_APP_ADJ:I = 0x5
134 -.field static final SERVICE_ADJ:I = 0x5
135 +.field static final SERVICE_ADJ:I = 0x6
137 .field static final SERVICE_B_ADJ:I = 0x8
139 .field static final SYSTEM_ADJ:I = -0x10
141 -.field static final VISIBLE_APP_ADJ:I = 0x1
142 +.field static final VISIBLE_APP_ADJ:I = 0x3
145 # instance fields