Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a308c032 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Fix NPE in IInputMethodSessionWrapper.executeMessage

bug: 3384715
Change-Id: I4bd8f2b505318a9b3e17dccf6a583dc7f36a8a24
parent 68b29902
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();