diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-05-31 17:59:49 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-05-31 18:04:14 -0700 |
commit | 2f0b17573d4324832f7a20402a3d2b5920bc4866 (patch) | |
tree | eb85b9344237741f21f4989950677692b3bdbbda /core/java/android/app/LoadedApk.java | |
parent | 8ede62745faa02265f927941d1195b6c1bf05ebb (diff) | |
download | frameworks_base-2f0b17573d4324832f7a20402a3d2b5920bc4866.zip frameworks_base-2f0b17573d4324832f7a20402a3d2b5920bc4866.tar.gz frameworks_base-2f0b17573d4324832f7a20402a3d2b5920bc4866.tar.bz2 |
Fix issue #4502672: Wrong xml resources used for homescreen widgets.
There was a race in the system process between applying the initial
configuration and executing code in higher-level system services
like the app widget service that relies on the config. For some
reason it starting showing up more after my code changes; it should
now be completely fixed.
Also fix the activity starting window to run in compatibility mode
if its application is going to be in compatibility mode.
And some various cleanup and small fixes.
Change-Id: I0566933bf1bbb4259c1d99a60c0a3c19af1542e5
Diffstat (limited to 'core/java/android/app/LoadedApk.java')
-rw-r--r-- | core/java/android/app/LoadedApk.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/app/LoadedApk.java b/core/java/android/app/LoadedApk.java index 5307696..6287d33 100644 --- a/core/java/android/app/LoadedApk.java +++ b/core/java/android/app/LoadedApk.java @@ -98,6 +98,12 @@ final class LoadedApk { return mApplication; } + /** + * Create information about a new .apk + * + * NOTE: This constructor is called with ActivityThread's lock held, + * so MUST NOT call back out to the activity manager. + */ public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, CompatibilityInfo compatInfo, ActivityThread mainThread, ClassLoader baseLoader, |