commit | cd8beac75f5297ed2b9a0a2ee417a9d15dafb38f | [log] [tgz] |
---|---|---|
author | Sergey Beliakov <sbeliakov@google.com> | Tue May 30 12:20:07 2017 +0100 |
committer | Sergey Beliakov <sbeliakov@google.com> | Tue May 30 17:54:33 2017 +0000 |
tree | f8fbfb458027b3a3fce6ab94e701dfdb3f1e981d | |
parent | 0879a75f8233bb8ecf73a65f2f03663173aa4ad0 [diff] |
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