mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
* commit '7580e9945ba096a2a084a6f571c2bd1a945dec8c': Fix potential NPE in MainKeyboardView.KeyTimerHandler
This commit is contained in:
commit
76c00decc9
@ -229,6 +229,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
||||
@Override
|
||||
public void handleMessage(final Message msg) {
|
||||
final MainKeyboardView keyboardView = getOuterInstance();
|
||||
if (keyboardView == null) {
|
||||
return;
|
||||
}
|
||||
final PointerTracker tracker = (PointerTracker) msg.obj;
|
||||
switch (msg.what) {
|
||||
case MSG_TYPING_STATE_EXPIRED:
|
||||
|
Loading…
Reference in New Issue
Block a user