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

Commit 03c639d9 authored by Ming-Shin Lu's avatar Ming-Shin Lu Committed by Automerger Merge Worker
Browse files

Merge "Fix IME picker dialog being dismissed by the app overlay" into...

Merge "Fix IME picker dialog being dismissed by the app overlay" into tm-qpr-dev am: 3fc61e0a am: 73836fdd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19034072



Change-Id: I52960c207098e3f6f55d4525e49d43a9f384d479
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 78111855 73836fdd
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -5560,12 +5560,14 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
        @Override
        public void onImeParentChanged() {
            synchronized (ImfLock.class) {
                // Hide the IME method menu when the IME surface parent will change in
                // case seeing the dialog dismiss flickering during the next focused window
                // starting the input connection.
                // Hide the IME method menu only when the IME surface parent is changed by the
                // input target changed, in case seeing the dialog dismiss flickering during
                // the next focused window starting the input connection.
                if (mLastImeTargetWindow != mCurFocusedWindow) {
                    mMenuController.hideInputMethodMenu();
                }
            }
        }

        @Override
        public void removeImeSurface() {