summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mark Hong <sungmin.h@samsung.com> 2020-01-10 10:20:45 -0800
committer Mark Hong <sungmin.h@samsung.com> 2020-01-21 11:56:14 -0800
commit61fbb72c8f2cbd9fa0611ae54749666debc99923 (patch)
tree6a96f720f4b5a3a63ce9533ae30c2d91cffc7c23 /libs/androidfw/StringPool.cpp
parent9f797b8f2a4606c873c7351e729c3d67f2d3a2fb (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 Change-Id: Ie3d615e494cb3fd21f4388e969e5e637860b86ac Signed-off-by: Mark Hong <sungmin.h@samsung.com>
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions