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

Change-Id: I167cb716ec7dc3a16fd60c4119dd2c2bb75c8be2
This commit is contained in:
TreeHugger Robot
2020-04-16 21:18:35 +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);