Merge "Fix the logics in ImeFocusController#onPostWindowFocus" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4220cf74ca
@@ -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, true);
|
onViewFocusChanged(viewForWindowFocus, viewForWindowFocus.hasFocus());
|
||||||
|
|
||||||
immDelegate.startInputAsyncOnWindowFocusGain(viewForWindowFocus,
|
immDelegate.startInputAsyncOnWindowFocusGain(viewForWindowFocus,
|
||||||
windowAttribute.softInputMode, windowAttribute.flags, forceFocus);
|
windowAttribute.softInputMode, windowAttribute.flags, forceFocus);
|
||||||
|
|||||||
Reference in New Issue
Block a user