mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix NPE
Bug: 5030817 Change-Id: I13133abb308d9f0c8169b6ea3fc0913ce5dda3d6
This commit is contained in:
parent
60be1b6ae1
commit
f0d6058b9e
@ -142,7 +142,9 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
|||||||
keyboardView.showKey(msg.arg1, tracker);
|
keyboardView.showKey(msg.arg1, tracker);
|
||||||
break;
|
break;
|
||||||
case MSG_DISMISS_KEY_PREVIEW:
|
case MSG_DISMISS_KEY_PREVIEW:
|
||||||
keyboardView.mPreviewText.setVisibility(View.INVISIBLE);
|
if (keyboardView.mPreviewText != null) {
|
||||||
|
keyboardView.mPreviewText.setVisibility(View.INVISIBLE);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user