OSDN Git Service

Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car...
authorDianne Hackborn <hackbod@google.com>
Fri, 26 Mar 2010 07:44:29 +0000 (00:44 -0700)
committerDianne Hackborn <hackbod@google.com>
Fri, 26 Mar 2010 19:52:53 +0000 (12:52 -0700)
commitd49258fed489bcd72a2b2a6ce3a3c38d4b2531e6
treefdb02af6a4750fa8795a57f9aaec67660cffedba
parentfc6d1ba930111ef7a51d91908f489ca9469fc572
Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83

There was a really dumb bug that was causing us to not always apply
the new configuration.  As a result of fixing this, there were new
glithes in the transition between car and regular mode, so further
work here to fix that.  And since I was actually working during the
night and seeing night mode, I noticed how obnoxiously bright the
status bar is compared to the car home at night, so it now nicely
dims itself when we switch to the night config.  Oh and in doing
that I also found and fixed a bug in dispatching config changes to
a window (where they wouldn't get dispatched if the window didn't
resize).

FINALLY...  tweak the wallpaper enter/exit animations a bit to
make them a little smoother.

Change-Id: I4e062093cbcfbc919307799a794846db2920216f
api/current.xml
core/java/android/app/IUiModeManager.aidl
core/java/android/app/UiModeManager.java
core/java/android/view/ViewRoot.java
core/java/com/android/internal/app/DisableCarModeActivity.java
core/res/res/anim/wallpaper_close_enter.xml
core/res/res/anim/wallpaper_open_enter.xml
core/res/res/anim/wallpaper_open_exit.xml
services/java/com/android/server/UiModeManagerService.java
services/java/com/android/server/am/ActivityManagerService.java
services/java/com/android/server/status/StatusBarView.java