Loading libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/BubbleBarLayerViewTest.kt +4 −2 Original line number Diff line number Diff line Loading @@ -527,8 +527,10 @@ class BubbleBarLayerViewTest { // Without waiting for animation completion, we collapse then immediately expand. getInstrumentation().runOnMainSync { bubbleBarLayerView.collapse() } getInstrumentation().runOnMainSync { bubbleBarLayerView.showExpandedView(bubble) } getInstrumentation().runOnMainSync { bubbleBarLayerView.showExpandedView(bubble) assertThat(bubbleBarLayerView.isAnimatingBubbleTracked(bubble)).isTrue() } // waitForExpandedViewAnimation() also covers the collapse animation. waitForExpandedViewAnimation() Loading Loading
libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/BubbleBarLayerViewTest.kt +4 −2 Original line number Diff line number Diff line Loading @@ -527,8 +527,10 @@ class BubbleBarLayerViewTest { // Without waiting for animation completion, we collapse then immediately expand. getInstrumentation().runOnMainSync { bubbleBarLayerView.collapse() } getInstrumentation().runOnMainSync { bubbleBarLayerView.showExpandedView(bubble) } getInstrumentation().runOnMainSync { bubbleBarLayerView.showExpandedView(bubble) assertThat(bubbleBarLayerView.isAnimatingBubbleTracked(bubble)).isTrue() } // waitForExpandedViewAnimation() also covers the collapse animation. waitForExpandedViewAnimation() Loading