Use own surface bounds as touchable region
Use replaceTouchableRegionWithCrop = true to make ActivityRecordInputSink use the ActivityRecords surface bounds to restrict the crop of the InputWindowHandle. Using activityRecord.getParentSurfaceControl() made it be restricted to the task surface and it wasn't updated when an ActivityRecord was reparented. Test: atest CtsWindowManagerDeviceTestCases:CrossAppDragAndDropTests Bug: 194480991 Change-Id: Id3b86ce232c5a61503d4f0d86d61849502efe230
Loading
Please register or sign in to comment