commit | ae888f4fd2a210e985dd4f09cc6d3f07382056d2 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Fri Jul 08 08:48:35 2022 -0700 |
committer | Tony Wickham <twickham@google.com> | Fri Jul 08 19:22:46 2022 -0700 |
tree | 9cb415081a0dbc54938deb2f3e1375a0aec2d2c1 | |
parent | 84f9f74c5f035fff62ad984ca91ffddbadbba1ed [diff] |
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