Merge "Revert "Run cleanup before end actions of ViewPropertyAnimator."" into nyc-dev
This commit is contained in:
@@ -1113,13 +1113,6 @@ public class ViewPropertyAnimator {
|
||||
if (mListener != null) {
|
||||
mListener.onAnimationEnd(animation);
|
||||
}
|
||||
if (mAnimatorCleanupMap != null) {
|
||||
Runnable r = mAnimatorCleanupMap.get(animation);
|
||||
if (r != null) {
|
||||
r.run();
|
||||
}
|
||||
mAnimatorCleanupMap.remove(animation);
|
||||
}
|
||||
if (mAnimatorOnEndMap != null) {
|
||||
Runnable r = mAnimatorOnEndMap.get(animation);
|
||||
if (r != null) {
|
||||
@@ -1127,6 +1120,13 @@ public class ViewPropertyAnimator {
|
||||
}
|
||||
mAnimatorOnEndMap.remove(animation);
|
||||
}
|
||||
if (mAnimatorCleanupMap != null) {
|
||||
Runnable r = mAnimatorCleanupMap.get(animation);
|
||||
if (r != null) {
|
||||
r.run();
|
||||
}
|
||||
mAnimatorCleanupMap.remove(animation);
|
||||
}
|
||||
mAnimatorMap.remove(animation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user