diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-01-26 11:03:54 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-01-31 19:26:28 -0500 |
commit | beaf5d919fa7986b96968d2282458aca9dc05b13 (patch) | |
tree | de91acda541e710cee3a287e030e069d8b5965be /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ce9bcc4977a8f7eca00674dd5292f191e3ca98fa (diff) |
Fixes for animationEnd in AnimatedImageDrawable
Bug: 63908092
Test: Manual
If the animation is running on the render thread, post a message (in
JNI) to call the listener.
Use a weak reference in the native listener so that it does not create
a cycle.
Don't add a listener if it's already in the list. Remove the native
listener when the Java listeners are all removed.
Call onAnimationEnd when the animation is stopped manually.
Change-Id: I5dc070089fb1cf399ac3316292592f614f2738f0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions