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

Commit 430a39fa authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 8bd206b5: Don\'t set keyboard insets if keyboard is hidden.

* commit '8bd206b5':
  Don't set keyboard insets if keyboard is hidden.
parents b7843586 8bd206b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2826,7 +2826,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {

        // Dock windows carve out the bottom of the screen, so normal windows
        // can't appear underneath them.
        if (attrs.type == TYPE_INPUT_METHOD && !win.getGivenInsetsPendingLw()) {
        if (attrs.type == TYPE_INPUT_METHOD && win.isVisibleOrBehindKeyguardLw()
                && !win.getGivenInsetsPendingLw()) {
            setLastInputMethodWindowLw(null, null);
            offsetInputMethodWindowLw(win);
        }