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
Loading
Please register or sign in to comment