OSDN Git Service

Delay rendering into Surface until draw completed.
authorCraig Mautner <cmautner@google.com>
Wed, 18 Apr 2012 21:04:38 +0000 (14:04 -0700)
committerCraig Mautner <cmautner@google.com>
Wed, 18 Apr 2012 21:04:38 +0000 (14:04 -0700)
commit9546e457fcfed1da9448d72758642793d9e271bb
tree206f44a853d1903f9aee1b959b9cef13918ad872
parenta51a9564fd53b661446cd63eea23208656acc678
Delay rendering into Surface until draw completed.

Hold off on updating surface with animation until the Surface draw has
completed. Previously we were calling Surface.setAlpha/setLayer/
setMatrix prior to the app drawing into the surface. This fixes a bug
that caused a flash of the target animation image before the animation
had begun.

Change-Id: Id9142e09b0b22d631dc002eba4dc787455dea03a
services/java/com/android/server/wm/WindowStateAnimator.java