Revert "Run cleanup before end actions of ViewPropertyAnimator."
This reverts commit e9a4f87852.
This revert is to test to see if the gralloc lock problems are caused by this CL.
Change-Id: I395fd3675dd430c44a5d29b050ba248f3f2bf4cd
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