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

Commit 19046b01 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Fix that setInputMethod throw exception with wrong method id"

parents 7ee78150 d88390f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -980,7 +980,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
    void setInputMethodLocked(String id) {
        InputMethodInfo info = mMethodMap.get(id);
        if (info == null) {
            throw new IllegalArgumentException("Unknown id: " + mCurMethodId);
            throw new IllegalArgumentException("Unknown id: " + id);
        }

        if (id.equals(mCurMethodId)) {