summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-08-29 17:59:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-29 17:59:24 +0000
commit7da70ed6a59b70bb48ab3f48a78b5cc29e1c8af7 (patch)
tree0c099cd2d8ac7fe641aac4aa8a67fd94a6ab0b83 /libs
parent551056ec0fd274f4696c2cf1ec9c62298f7f7226 (diff)
parent4d2c47206a8e1706e5f89ef73c0e50e7321bf862 (diff)
downloadframeworks_base-7da70ed6a59b70bb48ab3f48a78b5cc29e1c8af7.zip
frameworks_base-7da70ed6a59b70bb48ab3f48a78b5cc29e1c8af7.tar.gz
frameworks_base-7da70ed6a59b70bb48ab3f48a78b5cc29e1c8af7.tar.bz2
Merge "Listener callbacks ordering fixups" into lmp-dev
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/Animator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Animator.cpp b/libs/hwui/Animator.cpp
index 1c697d5..da65f38 100644
--- a/libs/hwui/Animator.cpp
+++ b/libs/hwui/Animator.cpp
@@ -95,6 +95,8 @@ void BaseRenderNodeAnimator::pushStaging(AnimationContext& context) {
// Oh boy, we're starting! Man the battle stations!
if (mPlayState == RUNNING) {
transitionToRunning(context);
+ } else if (mPlayState == FINISHED) {
+ callOnFinishedListener(context);
}
}
}