Bug: 5030817
Change-Id: I13133abb308d9f0c8169b6ea3fc0913ce5dda3d6
main
Tadashi G. Takaoka 2011-07-17 16:37:01 -07:00
parent 60be1b6ae1
commit f0d6058b9e
1 changed files with 3 additions and 1 deletions

View File

@ -142,7 +142,9 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
keyboardView.showKey(msg.arg1, tracker);
break;
case MSG_DISMISS_KEY_PREVIEW:
keyboardView.mPreviewText.setVisibility(View.INVISIBLE);
if (keyboardView.mPreviewText != null) {
keyboardView.mPreviewText.setVisibility(View.INVISIBLE);
}
break;
}
}