Skip to content
Snippets Groups Projects
Commit eeaa86dc authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Add log line for when PropertyAnimator doesn't remove old animators" into main

parents 4aee186a e4e63558
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.PropertyValuesHolder;
import android.animation.ValueAnimator;
import android.util.Log;
import android.util.Property;
import android.view.View;
import android.view.animation.Interpolator;
......@@ -33,6 +34,7 @@ import com.android.systemui.statusbar.notification.stack.ViewState;
* An animator to animate properties
*/
public class PropertyAnimator {
private static final String TAG = "PropertyAnimator";
/**
* Set a property on a view, updating its value, even if it's already animating.
......@@ -123,6 +125,8 @@ public class PropertyAnimator {
view.setTag(animatorTag, null);
view.setTag(animationStartTag, null);
view.setTag(animationEndTag, null);
} else {
Log.e(TAG, "Unexpected Animator set during onAnimationEnd. Not cleaning up.");
}
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment