Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true
AbsSwipeUpHandler didn't increase STATE_NAMES size last time we added a state. Changed to ArrayList to dynamically update the size, copied from how GestureState does it, to avoid this issue in the future. Test: Set DEBUG_STATES to true, verified logs when performing gestures Bug: 227514981 Change-Id: I747e66a744f4fd25f0b0289e348d8b3ed2376370
Loading
Please register or sign in to comment