summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2024-01-09 21:54:11 +0000
committer Chavi Weingarten <chaviw@google.com> 2024-01-10 14:12:50 +0000
commit1ba381e89fe7dfa20b0c8c1a880af59e2698925a (patch)
treea86fa1a3ddab1be97cfc75fe4e4d7f94e6f0e5e8 /libs/ultrahdr/jpegencoderhelper.cpp
parent8d5f542117255192baa81d1029d6224b1bd21c47 (diff)
Remove double display rotation for touchable region crop
inputBoundsInDisplaySpace is already in display space so remove the second call to transform the rect by the display transform. This causes a bug if the layer is using layer crop for touchable region and the display is rotated since the bounds will get double transformed, causing the touchable region to be offscreen. Bug: 312984511 Test: LayerSnapshotTest#CanCropTouchableRegionWithDisplayTransform Change-Id: I7d3eb9d5f129988573907658795e3a4349a5ece9
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions