OSDN Git Service

Work on issue #4518815: Compatibility mode introduces compatibility regression...
authorDianne Hackborn <hackbod@google.com>
Tue, 7 Jun 2011 21:09:47 +0000 (14:09 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 9 Jun 2011 01:45:43 +0000 (18:45 -0700)
commit5fd2169eabd77e6bfafaf456e58051a3bafb2bca
tree77048c3540c64cad77e5c140b6477a321190c586
parent4381f6421ca408d1dc66430ddfb107c5011bfe25
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
23 files changed:
cmds/installd/commands.c
core/java/android/app/ActivityThread.java
core/java/android/app/Application.java
core/java/android/app/ContextImpl.java
core/java/android/app/LoadedApk.java
core/java/android/content/res/CompatibilityInfo.java
core/java/android/content/res/Configuration.java
core/java/android/content/res/Resources.java
core/java/android/text/TextLine.java
core/java/android/view/CompatibilityInfoHolder.java [new file with mode: 0644]
core/java/android/view/Display.java
core/java/android/view/ViewRoot.java
core/java/android/view/Window.java
core/java/android/view/WindowManagerImpl.java
libs/utils/StreamingZipInflater.cpp
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/WifiService.java
services/java/com/android/server/wm/BlackFrame.java
services/java/com/android/server/wm/DimAnimator.java
services/java/com/android/server/wm/DimSurface.java
services/java/com/android/server/wm/ScreenRotationAnimation.java
services/java/com/android/server/wm/WindowManagerService.java
services/java/com/android/server/wm/WindowState.java