am bc891b67: Merge "Fix NPE in IInputMethodSessionWrapper.executeMessage" into honeycomb

* commit 'bc891b67e07fd6f5077f88879299dbdf27ae9ee1':
  Fix NPE in IInputMethodSessionWrapper.executeMessage
This commit is contained in:
Ken Wakasa
2011-01-24 22:12:44 -08:00
committed by Android Git Automerger

View File

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