commit | 01732bb37a09f4d2146185ab3f61fa248283b97d | [log] [tgz] |
---|---|---|
author | Yohei Yukawa <yukawa@google.com> | Wed Nov 17 15:22:34 2021 -0800 |
committer | Yohei Yukawa <yukawa@google.com> | Wed Nov 17 15:22:34 2021 -0800 |
tree | 907a1b05bba4924242e87f63305b7de5cb8bd9ff | |
parent | daa6695c2ee8f7a8a9d724e4169ced4d28edc54d [diff] |
Use IMM#invalidateInput() in EditText#setText() With this CL, EditText#setText() actually starts using InputMethodManger#invalidateInput(), which does not block the UI thread. See the previous CL [1] about how that API actually works. There should be no observable changes from the viewpoing of IMEs. [1]: I3161755779080f98bcef0e47dd0c5247d8a3a256 Bug: 203086369 Test: atest CtsInputMethodTestCases:EditTextImeSupportTest Change-Id: I8d2e0be22454b106ded15c78c876b55dc6e60a13