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

Commit dcfd05f9 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Remove IME surface when window unbinds" into rvc-dev am: 9cfb5412

Change-Id: Ie007f0296b9bbd0081d4f65a605c764d0014f910
parents 20f81c12 9cfb5412
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -611,6 +611,10 @@ public class InputMethodService extends AbstractInputMethodService {
        public void unbindInput() {
            if (DEBUG) Log.v(TAG, "unbindInput(): binding=" + mInputBinding
                    + " ic=" + mInputConnection);
            // Unbind input is per process per display.
            // TODO(b/150902448): free-up IME surface when target is changing.
            //  e.g. DisplayContent#setInputMethodTarget()
            removeImeSurface();
            onUnbindInput();
            mInputBinding = null;
            mInputConnection = null;