mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix NPE
bug: 3364217 Change-Id: If6a2514a8feac509d7b6716c8574521a0ec0fa3e
This commit is contained in:
parent
08ca36d038
commit
86f189fd96
@ -205,10 +205,10 @@ public class LatinKeyboardView extends KeyboardView {
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent me) {
|
||||
LatinKeyboard keyboard = getLatinKeyboard();
|
||||
if (keyboard == null) return true;
|
||||
|
||||
// If there was a sudden jump, return without processing the actual motion event.
|
||||
if (handleSuddenJump(me))
|
||||
return true;
|
||||
if (handleSuddenJump(me)) return true;
|
||||
|
||||
// Reset any bounding box controls in the keyboard
|
||||
if (me.getAction() == MotionEvent.ACTION_DOWN) {
|
||||
|
Loading…
Reference in New Issue
Block a user