Cancel badge scale anim when setting new badge scale
Otherwise it's possible the badge scale animation will override the non-animated set value, which could mean a badge continues to show even though it shouldn't: - Animate badge scale to 1 - Before animation finishes, set badge scale to 0 - Badge scale ends at 1, since animation wasn't cancelled, so we continue to show it indefinitely Also exported some properties in case a similar issue arises. Bug: 111791593 Change-Id: Ia1a417239b909886adf9351e9bdc06a3b22d8b73
Loading
Please register or sign in to comment