commit | 7cb3014373f37fbc85a8dcd9f2dcde999373a436 | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Fri Dec 20 16:43:06 2019 -0800 |
committer | Garfield Tan <xutan@google.com> | Sat Dec 21 00:50:52 2019 +0000 |
tree | a80aba12b84ae49e93d8db1bbf3454cb78a7dbd4 | |
parent | 348606fb9e22a748151019e2558ac7b57e7c3c17 [diff] |
Rotate landscape display before testing cutouts. Current cutout logic assumes the cutout is located on a short edge of the display so if the display it tests on happens to be a landscape display the test just fails. Bug: 145836235 Test: atest DisplayContentTests#testDisplayCutout_rot90 on a landscape display device. Change-Id: I4972fbcc4aef6b9d0ba7759c8c8aa32e82a83b8b