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

Commit b1b2e227 authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Update internal states stored in InputMethodManager properly"

parents 7e7248f2 560bcb34
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1024,13 +1024,13 @@ public final class InputMethodManager {
                if (DEBUG) Log.v(TAG, "START INPUT: " + view + " ic="
                        + ic + " tba=" + tba + " initial=" + initial);
                InputBindResult res = mService.startInput(mClient,
                        servedContext, tba, initial, mCurMethod == null);
                        servedContext, tba, initial, true);
                if (DEBUG) Log.v(TAG, "Starting input: Bind result=" + res);
                if (res != null) {
                    if (res.id != null) {
                        mBindSequence = res.sequence;
                        mCurMethod = res.method;
                    } else {
                    } else if (mCurMethod == null) {
                        // This means there is no input method available.
                        if (DEBUG) Log.v(TAG, "ABORT input: no input method!");
                        return;