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

Commit 8abd5f0d authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #2267665 IME keyboard appears as Blank in compose view...

...if you re-lunch messaging application after deleting the
character and pressing home key

Change-Id: Idc7da05e54730958644e80069764237e5db6f288
parent 174b7269
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2449,7 +2449,12 @@ public class WindowManagerService extends IWindowManager.Stub
            boolean assignLayers = false;

            if (imMayMove) {
                if (moveInputMethodWindowsIfNeededLocked(false)) {
                if (moveInputMethodWindowsIfNeededLocked(false) || displayed) {
                    // Little hack here -- we -should- be able to rely on the
                    // function to return true if the IME has moved and needs
                    // its layer recomputed.  However, if the IME was hidden
                    // and isn't actually moved in the list, its layer may be
                    // out of data so we make sure to recompute it.
                    assignLayers = true;
                }
            }