summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-08-27 12:04:26 -0700
committerDianne Hackborn <hackbod@google.com>2010-08-27 12:04:26 -0700
commit41bfa37cb2ca244432061bddb1c8bf802545ae6e (patch)
tree3bb3611fe922699927a7c1af755c5e1a3a2cdcad /services
parent1040dc465cbf5ca8f834a87c949e476abefa3f76 (diff)
parent409b71201a982e188c05238d95a2eb53ea9e0cf7 (diff)
downloadframeworks_base-41bfa37cb2ca244432061bddb1c8bf802545ae6e.zip
frameworks_base-41bfa37cb2ca244432061bddb1c8bf802545ae6e.tar.gz
frameworks_base-41bfa37cb2ca244432061bddb1c8bf802545ae6e.tar.bz2
resolved conflicts for merge of 409b7120 to master
Change-Id: I1741e205b5ff5ae62a38ab3b096bcc3d96883538
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/am/ActivityStack.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/am/ActivityStack.java b/services/java/com/android/server/am/ActivityStack.java
index a99b48c..c21a221 100644
--- a/services/java/com/android/server/am/ActivityStack.java
+++ b/services/java/com/android/server/am/ActivityStack.java
@@ -504,7 +504,7 @@ public class ActivityStack {
r.info, r.icicle, results, newIntents, !andResume,
mService.isNextTransitionForward());
- if ((app.info.flags&ApplicationInfo.FLAG_HEAVY_WEIGHT) != 0) {
+ if ((app.info.flags&ApplicationInfo.CANT_SAVE_STATE) != 0) {
// This may be a heavy-weight process! Note that the package
// manager will ensure that only activity can run in the main
// process of the .apk, which is the only thing that will be
@@ -2404,7 +2404,7 @@ public class ActivityStack {
final long origId = Binder.clearCallingIdentity();
if (mMainStack && aInfo != null &&
- (aInfo.applicationInfo.flags&ApplicationInfo.FLAG_HEAVY_WEIGHT) != 0) {
+ (aInfo.applicationInfo.flags&ApplicationInfo.CANT_SAVE_STATE) != 0) {
// This may be a heavy-weight process! Check to see if we already
// have another, different heavy-weight process running.
if (aInfo.processName.equals(aInfo.applicationInfo.packageName)) {