mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am a9d28030
: Merge "Fix NPE on HOVER_EXIT event when not touching a key." into jb-dev
* commit 'a9d28030964c4c99e7292d7dcfc73e1453750bf9': Fix NPE on HOVER_EXIT event when not touching a key.
This commit is contained in:
commit
29948e7a19
@ -113,7 +113,7 @@ public class AccessibleKeyboardViewProxy extends AccessibilityDelegateCompat {
|
||||
case MotionEvent.ACTION_HOVER_EXIT:
|
||||
// Make sure we're not getting an EXIT event because the user slid
|
||||
// off the keyboard area, then force a key press.
|
||||
if (pointInView(x, y)) {
|
||||
if (pointInView(x, y) && (key != null)) {
|
||||
getAccessibilityNodeProvider().simulateKeyPress(key);
|
||||
}
|
||||
//$FALL-THROUGH$
|
||||
|
Loading…
Reference in New Issue
Block a user