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

Commit efab3767 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix not invoke setImeWindowStatus when unlocked by PIN lock" into sc-dev am: f5925bd7

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

Change-Id: I9a0935a6b72f5b73c3983110e138a42e5a52f967
parents 0810bfeb f5925bd7
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -819,10 +819,9 @@ public class InputMethodService extends AbstractInputMethodService {
            if (dispatchOnShowInputRequested(flags, false)) {
                showWindow(true);
                applyVisibilityInInsetsConsumerIfNecessary(true /* setVisible */);
            } else {
                // If user uses hard keyboard, IME button should always be shown.
                setImeWindowStatus(mapToImeWindowStatus(), mBackDisposition);
            }
            setImeWindowStatus(mapToImeWindowStatus(), mBackDisposition);

            final boolean isVisible = isInputViewShown();
            final boolean visibilityChanged = isVisible != wasVisible;
            if (resultReceiver != null) {