Skip to content
Commit 93d68c27 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

WM: Add a crop to touchable region if needed

When populating the touchable region, check whether we should crop to stack bounds. With the
introduction of public SurfaceControl, users can position the surface outside of the bounds
its parents. SurfaceFlinger will ensure that regions outside its parents are not drawn but
the surface may still consume touch input.

Setting the crop will ensure that we crop the touch region to the specified surface.

Bug: 123992966

Test: go/wm-smoke
Test: manual input tests and check winscope trace
Change-Id: I4426500ea0a70a6b511cb26b4f9cdf5e0bcbac3f
parent 16b4163b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment