summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Patrick Williams <pdwilliams@google.com> 2024-02-22 15:46:24 -0600
committer Patrick Williams <pdwilliams@google.com> 2024-02-23 13:10:46 -0600
commit65507cbbf9abf62c80f0b3516411eb6a38d883c1 (patch)
tree4d92ef763e24d4692940eafb9c8617135db80251 /libs/androidfw/misc.cpp
parentf17902765f6d34d0e07d0836e8676358605d868f (diff)
Update ViewRootImpl#getBufferTransformHint to use display rotation
Updates ViewRootImpl#getBufferTransform hint to determine the transform hint based off display rotation instead of the transform hint set on the underlying SurfaceControl. This fixes an issue where getBufferTransformHint returns an incorrect transform hint because SurfaceFlinger's display information hasn't been updated with display rotation information yet. Bug: 301238858 Test: VulkanPreTransformTest Change-Id: Ib835a8cf793ad048297789222802d2d1677db3ce
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions