CtsGraphicsTestCases case fail in special lcm orientation device
sActivity.getRotation() get the orientation from viewport of user, but NATIVE_WINDOW_TRANSFORM_HINT get the orientation from viewport of lcm/gpu.
Only use transform hint to handle rotation judgement, considering special lcm orientation in customer project.
Bug: 117912682
Test: manual, ran the test 10 times and it passed 10 times
Test: run cts -m CtsGraphicsTestCases -t android.graphics.cts.VulkanPreTransformTest#testVulkanPreTransformSetToMatchCurrentTransform
Change-Id: I0088ddfb00e1026d905ac1addddd8eec4b78ea41
Merged-In: I0088ddfb00e1026d905ac1addddd8eec4b78ea41
4 files changed