summaryrefslogtreecommitdiffstats
path: root/core/java/com/android/internal/util/Protocol.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-07-11 17:01:56 -0700
committerChet Haase <chet@google.com>2011-07-12 11:55:51 -0700
commit7dfacdb1c820f955cb3cd6032ff5fbc2dd7d9df5 (patch)
treee3fa36e513a54fb14d2797014c640026afd5f963 /core/java/com/android/internal/util/Protocol.java
parent221bfab8429b91ddd4f5835f399a1c9628122cbd (diff)
downloadframeworks_base-7dfacdb1c820f955cb3cd6032ff5fbc2dd7d9df5.zip
frameworks_base-7dfacdb1c820f955cb3cd6032ff5fbc2dd7d9df5.tar.gz
frameworks_base-7dfacdb1c820f955cb3cd6032ff5fbc2dd7d9df5.tar.bz2
Fix Animator cancel() behavior
Previously, calling cancel() on an Animator would cause onAnimationCancel events to be sent to all listeners. This was confusing for listeners that were keying off this event for performing other actions, when the original animator wasn't truly canceled (because it wasn't even running, or had already been canceled earlier). This change hinges listener notification on the animator actually running; no events are sent otherwise. Also added the first set of Animator tests to verify that this behavior is correct. Change-Id: I81ab56559b5c0343c8dc7880e1c8235f3020975b
Diffstat (limited to 'core/java/com/android/internal/util/Protocol.java')
0 files changed, 0 insertions, 0 deletions