Merge "Revert "Fix the logics in ImeFocusController#onPostWindowFocus"" into rvc-dev am: 48d830ebd9

Change-Id: I02fc5c9c9b359677006422873f3b6109e7b72ed9
This commit is contained in:
TreeHugger Robot
2020-04-16 20:59:39 +00:00
committed by Automerger Merge Worker

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);