OSDN Git Service

Do not prematurely update position while bounds animating.
authorRobert Carr <racarr@google.com>
Mon, 18 Apr 2016 18:52:21 +0000 (11:52 -0700)
committerRobert Carr <racarr@google.com>
Wed, 20 Apr 2016 19:05:26 +0000 (12:05 -0700)
commit69016e3472e9ba1144bfccd0217f7cf73b84f9ef
tree25a9af7857c68fa8f21c444be4070e79915f5c60
parent03046888822d07ec020eb7a2f685be4f7bcded31
Do not prematurely update position while bounds animating.

We intend to update the task size in onAnimationStart
so that we can get a new buffer as quickly as possible.
We need to keep it at the old position though, or
we will see a jump at the beginning of the animation.

Bug: 28091556
Change-Id: I5fc5f9eef1629dea88844cf3f2274eaa48909b97
services/core/java/com/android/server/wm/BoundsAnimationController.java