Test 0-duration scale AnimatorSet

And ensure that it doesn't finish right away.

BUG: 35590176
Test: this CL
Change-Id: Ic403da1114b5aa605f8c51fdaee50ca28eb81361
(cherry picked from commit 958cc1d9fc5dead8eaa51621763df2490d0f963f)
diff --git a/tests/tests/animation/src/android/animation/cts/AnimatorSetTest.java b/tests/tests/animation/src/android/animation/cts/AnimatorSetTest.java
index 5bc0155..29e8e80 100644
--- a/tests/tests/animation/src/android/animation/cts/AnimatorSetTest.java
+++ b/tests/tests/animation/src/android/animation/cts/AnimatorSetTest.java
@@ -21,6 +21,7 @@
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertSame;
 import static org.junit.Assert.assertTrue;
+import static org.mockito.Mockito.any;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.times;
@@ -470,6 +471,8 @@
 
         mActivityRule.runOnUiThread(() -> {
             set.start();
+            verify(setListener, times(0)).onAnimationEnd(any(AnimatorSet.class),
+                    any(boolean.class));
         });
         verify(setListener, within(100)).onAnimationEnd(set, false);
         verify(listener1, times(1)).onAnimationEnd(a1, false);