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

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

Merge "Revert "Fix the logics in ImeFocusController#onPostWindowFocus"" into rvc-dev

parents 1fb728d7 067d71bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -123,7 +123,7 @@ public final class ImeFocusController {
        }
        }
        // Update mNextServedView when focusedView changed.
        // Update mNextServedView when focusedView changed.
        final View viewForWindowFocus = focusedView != null ? focusedView : mViewRootImpl.mView;
        final View viewForWindowFocus = focusedView != null ? focusedView : mViewRootImpl.mView;
        onViewFocusChanged(viewForWindowFocus, viewForWindowFocus.hasFocus());
        onViewFocusChanged(viewForWindowFocus, true);


        immDelegate.startInputAsyncOnWindowFocusGain(viewForWindowFocus,
        immDelegate.startInputAsyncOnWindowFocusGain(viewForWindowFocus,
                windowAttribute.softInputMode, windowAttribute.flags, forceFocus);
                windowAttribute.softInputMode, windowAttribute.flags, forceFocus);