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

Commit 96687db3 authored by Satoshi Kataoka's avatar Satoshi Kataoka Committed by Android (Google) Code Review
Browse files

Merge "Resolve inconsistent conditions in InputMethodService"

parents 718aefb6 c56191f8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -381,7 +381,6 @@ public class InputMethodService extends AbstractInputMethodService {
            if (DEBUG) Log.v(TAG, "unbindInput(): binding=" + mInputBinding
                    + " ic=" + mInputConnection);
            onUnbindInput();
            mInputStarted = false;
            mInputBinding = null;
            mInputConnection = null;
        }
@@ -719,7 +718,7 @@ public class InputMethodService extends AbstractInputMethodService {
        super.onDestroy();
        mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener(
                mInsetsComputer);
        finishViews();
        doFinishInput();
        if (mWindowAdded) {
            // Disable exit animation for the current IME window
            // to avoid the race condition between the exit and enter animations