Use CtsWindowInfoUtils to tap on window.

This API will ensure the window is on screen before invoking the tap
call. This makes the test not flaky.

Bug: 292096626
Test: testCanCopySurfacePackage 100 times
Change-Id: I4a5182f2e204b590baab415311d02f3d55c2a100
2 files changed