Revert "Fix the logics in ImeFocusController#onPostWindowFocus"
This reverts commit a56779d1ab [1].
Reason for revert:
Caused multiple test failures in CtsInputMethodTestCases
[1]: I68bb95fc3cbfe1f5992ccf87694b34c3e52bb31f
Bug: 153612876
Fix: 154250671
Test: atest CtsInputMethodTestCases
Change-Id: Ibf6143f46ae18e41e8ecfa50f523216e7340adda
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user