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

Commit f5925bd7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 0dd99e0c c66dd0af
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) {