commit | 5f4598831c59b0f6116ea5e63f453e07b57c2571 | [log] [tgz] |
---|---|---|
author | Ziqi Chen <czq@google.com> | Wed Dec 11 02:39:55 2024 -0800 |
committer | Ziqi Chen <czq@google.com> | Wed Dec 11 02:43:32 2024 -0800 |
tree | 1af43bcca83ed03cd015a05cfc45dd36f7276c97 | |
parent | e9554b09a53f17104d5233cd7fdb2435299f41f8 [diff] |
Fix crash: NPE in SuggestionStripView in LatinIME The first parameter in `GestureDetector.OnGestureListener#onScroll` might be null, which indicates an incomplete event stream or error state. https://developer.android.com/reference/android/view/GestureDetector.OnGestureListener#onScroll(android.view.MotionEvent,%20android.view.MotionEvent,%20float,%20float) Bug: 383053077 Change-Id: I6e49ae353beafb6585184fa729041570991f240c