am 48d8d8d0: Fix potential NPE in MainKeyboardView.KeyTimerHandler
* commit '48d8d8d0ae573605f938b3859bf58e1972f0d737': Fix potential NPE in MainKeyboardView.KeyTimerHandlermain
commit
7580e9945b
|
@ -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