summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorMark Hong <sungmin.h@samsung.com>2020-01-10 10:20:45 -0800
committerVishnu Nair <vishnun@google.com>2020-03-12 02:04:31 +0000
commitfedfb4635c7d00e0d2eab99fa4812f717fcc6927 (patch)
tree21ec056c16630ddf4e77905b0045211a121609b1 /startop/scripts/lib/cmd_utils.py
parent3300730d3d332945cc7fee07f0b8db34c4dfa058 (diff)
Apply proper displayCutout rotation in density 480 dpi and 270 degrees rotation.
In case device has 480 dpi and rotating the degrees then shortSizeDp value is less than 480 because of diaplay cutout. So ScreenLayoutSize will not be properly set and there is difference in between expectedScreenLayout and actualScreenLayout. In order to fix this issue, displayCutout should also be rotated while in calculating reduceConfigLayout. Bug: b/147473991 Test: run cts-on-gsi -m CtsDpiTestCases -t android.dpi.cts.ConfigurationScreenLayyoutTest#testScreenLayout Merged-In: Ie3d615e494cb3fd21f4388e969e5e637860b86ac Change-Id: Ie3d615e494cb3fd21f4388e969e5e637860b86ac Signed-off-by: Mark Hong <sungmin.h@samsung.com>
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions