Merge "Use IMM#invalidateInput() in EditText#setText() (2nd try)"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5d8375c44d
@@ -1849,7 +1849,7 @@ public class Editor {
|
||||
if (mHasPendingRestartInputForSetText) {
|
||||
final InputMethodManager imm = getInputMethodManager();
|
||||
if (imm != null) {
|
||||
imm.restartInput(mTextView);
|
||||
imm.invalidateInput(mTextView);
|
||||
}
|
||||
mHasPendingRestartInputForSetText = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user