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

This commit is contained in:
TreeHugger Robot
2020-04-16 20:58:47 +00:00
committed by Android (Google) Code Review

View File

@@ -123,7 +123,7 @@ public final class ImeFocusController {
}
// Update mNextServedView when focusedView changed.
final View viewForWindowFocus = focusedView != null ? focusedView : mViewRootImpl.mView;
onViewFocusChanged(viewForWindowFocus, viewForWindowFocus.hasFocus());
onViewFocusChanged(viewForWindowFocus, true);
immDelegate.startInputAsyncOnWindowFocusGain(viewForWindowFocus,
windowAttribute.softInputMode, windowAttribute.flags, forceFocus);