diff options
| author | Dianne Hackborn <hackbod@google.com> | 2010-08-26 14:18:37 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2010-08-26 14:41:58 -0700 |
| commit | 02486b1327e3007c62d253dd89ba9db1852b87f8 (patch) | |
| tree | ddf8f10dcf945aec5bbefbf0d13b936582b42de0 /services | |
| parent | bc5d9d2254ee751ff50fb91d4560098ab5edf01f (diff) | |
| download | frameworks_base-02486b1327e3007c62d253dd89ba9db1852b87f8.zip frameworks_base-02486b1327e3007c62d253dd89ba9db1852b87f8.tar.gz frameworks_base-02486b1327e3007c62d253dd89ba9db1852b87f8.tar.bz2 | |
Hide heavy-weight API.
And give it a better name, for when it is later un-hidden.
Change-Id: Iae0d3054d44f873b9f953bc41d175a47802a185e
Diffstat (limited to 'services')
| -rw-r--r-- | services/java/com/android/server/am/ActivityStack.java | 4 |
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)) { |
