Skip to content
Commit 7d6a5fec authored by Matthew Ng's avatar Matthew Ng
Browse files

Prevent nearest touch frame nearest child crash when no children

NearestTouchFrame crashed because clickable children list was empty,
either there were no children inside the view group or most likely touch
event occured before onMeasure occurred. Fixed by returning early.

Bug: 112740585
Test: tap anywhere on the nav bar
Change-Id: Id0a805fbe039d9e774900e832cb75347f7a619de
parent 2518b289
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