Skip to content
Snippets Groups Projects
Commit 97d8e75e authored by Maryam Dehaini's avatar Maryam Dehaini Committed by Android (Google) Code Review
Browse files

Merge "Remove animation listeners on cancel" into main

parents f9b136da 5b95398f
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ class MaximizeButtonView(
}
fun cancelHoverAnimation() {
hoverProgressAnimatorSet.removeAllListeners()
hoverProgressAnimatorSet.childAnimations.forEach { it.removeAllListeners() }
hoverProgressAnimatorSet.cancel()
progressBar.visibility = View.INVISIBLE
}
......
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