diff options
| author | Dianne Hackborn <hackbod@google.com> | 2011-06-07 14:09:47 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2011-06-08 18:45:43 -0700 |
| commit | 5fd2169eabd77e6bfafaf456e58051a3bafb2bca (patch) | |
| tree | 77048c3540c64cad77e5c140b6477a321190c586 /core/java/android/app/Application.java | |
| parent | 4381f6421ca408d1dc66430ddfb107c5011bfe25 (diff) | |
Work on issue #4518815: Compatibility mode introduces compatibility regression...
...for Market App iRunner
There were a lot of serious issues with how we updated (or often didn't update)
the display and resource state when switching compatibility mode in conjunction
with restarting and updating application components. This addresses everything
I could find.
Unfortunately it does *not* fix this particular app. I am starting to think this
is just an issue in the app. This change does fix a number of other problems
I could repro, such as switching the compatibility mode of an IME.
Also a few changes here and there to get rid of $#*&^!! debug logs.
Change-Id: Ib15572eac9ec93b4b9966ddcbbc830ce9dec1317
Diffstat (limited to 'core/java/android/app/Application.java')
| -rw-r--r-- | core/java/android/app/Application.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/app/Application.java b/core/java/android/app/Application.java index b9ac84838e65..10cc9f8de3a6 100644 --- a/core/java/android/app/Application.java +++ b/core/java/android/app/Application.java @@ -37,6 +37,8 @@ import android.content.res.Configuration; * when first constructing the singleton.</p> */ public class Application extends ContextWrapper implements ComponentCallbacks { + /** @hide */ + public LoadedApk mLoadedApk; public Application() { super(null); @@ -75,6 +77,6 @@ public class Application extends ContextWrapper implements ComponentCallbacks { */ /* package */ final void attach(Context context) { attachBaseContext(context); + mLoadedApk = ContextImpl.getImpl(context).mPackageInfo; } - } |
