Comply with the PiP refactoring
- testPinnedStackOutOfBoundsInsetsNonNegative is removed from CTS since
it's now SysUI's responsibility to resize the PiP window and ensure its
bounds is within display. Corresponding test in SysUI component should
be added later
Additionally in PinnedStackTests
- TestActivity is used in several places to avoid having PiP position
adjustment caused by shelf visibility change
- waitForEnterPipAnimationComplete is no longer valid since the
animation is moved to SysUI. A transition completed signal from
TaskOrganizer may be more appropriate, we switch to inspect the bounds
of PiP window as a work around based on the fact that we set the final
bounds at the very end of the transition. See also b/149947030
- waitForExitPipToFullscreen is no longer valid due to the same reason.
We work around this using the same technique as above
Bug: 146594635
Test: atest PinnedStackTests
Merged-In: I2d2be145ab42167ae336451aa623cba991a8a574
Change-Id: I2d2be145ab42167ae336451aa623cba991a8a574
2 files changed