OSDN Git Service

Force layout and animation when display changes
authorCraig Mautner <cmautner@google.com>
Wed, 24 Sep 2014 01:37:49 +0000 (18:37 -0700)
committerCraig Mautner <cmautner@google.com>
Wed, 24 Sep 2014 01:37:49 +0000 (18:37 -0700)
commit9b5e824da70b6446a2e1418bc0cf1efaa33bd862
treed5acf323c53449e46e1615ea7ddc868d4dfc3d05
parentacc0d6de530fd8d2a938fa2c663036da0621be70
Force layout and animation when display changes

Each time that window manager gets a notification that a display has
been added, removed or changed, run a pass through
performLayoutAndPlaceSurfaces. This ensures that
WindowAnimator.animate() runs once so that the surfaces of remote
displays can be updated with their visibility.

Fixes bug 17533991.

Change-Id: If8745527df86c74da75fbe26b8a2a6fddeb74d2a
services/core/java/com/android/server/wm/WindowManagerService.java