diff options
| author | 2015-08-04 20:52:40 +0000 | |
|---|---|---|
| committer | 2015-08-04 20:52:40 +0000 | |
| commit | bc04d3acba766c1440e2ab0763aa1352efcf54a8 (patch) | |
| tree | 619ff0feb25e5ccb64b8f8c9e896fe395b939d3e | |
| parent | 93c14069588eac2c652263295bc89eb2a2eb3d6b (diff) | |
| parent | 68eb3b22b06477e5a229714f802cbc48e8486937 (diff) | |
Merge "animateNoDamage failed to remove from current frame list"
| -rw-r--r-- | libs/hwui/AnimatorManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/AnimatorManager.cpp b/libs/hwui/AnimatorManager.cpp index c28fb88a0361..9dacce49b232 100644 --- a/libs/hwui/AnimatorManager.cpp +++ b/libs/hwui/AnimatorManager.cpp @@ -123,8 +123,6 @@ uint32_t AnimatorManager::animate(TreeInfo& info) { } void AnimatorManager::animateNoDamage(TreeInfo& info) { - if (!mAnimators.size()) return; - animateCommon(info); } @@ -167,7 +165,7 @@ private: }; void AnimatorManager::endAllActiveAnimators() { - ALOGD("endAllStagingAnimators on %p (%s) with handle %p", + ALOGD("endAllActiveAnimators on %p (%s) with handle %p", &mParent, mParent.getName(), mAnimationHandle); EndActiveAnimatorsFunctor functor(mAnimationHandle->context()); for_each(mAnimators.begin(), mAnimators.end(), functor); |