OSDN Git Service

Prevent multiple workspace state animators from being started
authorAdam Cohen <adamcohen@google.com>
Wed, 19 Nov 2014 01:53:44 +0000 (17:53 -0800)
committerAdam Cohen <adamcohen@google.com>
Wed, 19 Nov 2014 02:18:26 +0000 (18:18 -0800)
commit08072c05bf9c760acff653545a795a0fae4bd917
tree01f0394df71640a55fb0143931215e5d28003756
parent7c39e2380f3406f897b2f0abffcb8267d2212482
Prevent multiple workspace state animators from being started

-> Probably an issue with the way we're wrapping ViewPropertyAnimator
   which can lead to us acting like it's valid to have multiple
   instances of a VPA. In reality I think this is very problematic.
-> For now, we can just make sure the previous animation is canceled
   if it hasn't yet completed.

Bug 18428886

Change-Id: I097eec08ec68ed098e68866fb5eda72734c51b00
src/com/android/launcher3/Workspace.java