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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ba381e89fe7dfa20b0c8c1a880af59e2698925a) Merged-In: I7d3eb9d5f129988573907658795e3a4349a5ece9 Change-Id: I7d3eb9d5f129988573907658795e3a4349a5ece9
Loading
Please register or sign in to comment