Check view drawing order in ViewGroup#getChildLocalHitRegion
Before this change, ViewGroup#getChildLocalHitRegion will clip a view's hit region when its slibing view is reciving MotionEvents despite of the view order. This doesn't work when two views overlaps and the bottom view is handling MotionEvents. Because the top view's hit region will get clipped by the bottom view's bounds. This CL adds the view order check and fixed the issue. Bug: 299859816 Test: atest ViewGroupGetChildLocalHitRegionTest Change-Id: I68a8ab8402229ceaefeb5fb537c998705076d9f0
Loading
Please register or sign in to comment