Fix cts test android.app.cts.DisplayTest#testRotation.

The test triggers change orientation and asserts width and height
changed after that. This does not make sense for square screens.
Added check: if screen is square, skip assertions on screen size change.

Bug: 62183118
Fixes: 62183118
Testing: cts-tradefed> run cts -m CtsAppTestCases -t android.app.cts.DisplayTest#testRotation
Change-Id: Ic441d3aebee52b6677b66cc3e9e6c295060dbe4f
1 file changed