Revert "Use IMM#invalidateInput() in EditText#setText()"
This reverts commit 01732bb37a [1].
Reason for revert: Caused regression in Chrome Omnibox
[1]: I8d2e0be22454b106ded15c78c876b55dc6e60a13
Bug: 203086369
Fix: 208941904
Test: presubmit
Change-Id: I5915f6bad63d8e978cb98a79076b9c57089422f8
This commit is contained in:
@@ -1848,7 +1848,7 @@ public class Editor {
|
||||
if (mHasPendingRestartInputForSetText) {
|
||||
final InputMethodManager imm = getInputMethodManager();
|
||||
if (imm != null) {
|
||||
imm.invalidateInput(mTextView);
|
||||
imm.restartInput(mTextView);
|
||||
}
|
||||
mHasPendingRestartInputForSetText = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user