Merge "Fix NPE in IInputMethodSessionWrapper.executeMessage" into honeycomb

This commit is contained in:
Ken Wakasa
2011-01-24 21:37:53 -08:00
committed by Android (Google) Code Review

View File

@@ -76,6 +76,8 @@ class IInputMethodSessionWrapper extends IInputMethodSession.Stub
}
public void executeMessage(Message msg) {
if (mInputMethodSession == null) return;
switch (msg.what) {
case DO_FINISH_INPUT:
mInputMethodSession.finishInput();