Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 196f68cf authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android Build Coastguard Worker
Browse files

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
parent 8748247d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment