Fix for Automotive devices supporting only "landscape" screen orientation

When "portrait" is specified on an automotive device that supports only
"landscape" screen orientation, the test fails due to insufficient screen width.
Therefore, the test was modified to specify the screen orientation during
the test by checking the screen orientation supported by the device.
And, we need an increased CountDownLatch count for the large size display in order to fully complete the screen transition before checking the result.

Bug: 225797185
Test: atest android.view.cts.PixelCopyTest#testDialogProducerScaling
Change-Id: I153c0f7e38b3ef719f2b469d1d8abac91ca3c949
1 file changed