diff options
author | Feng Cao <fengcao@google.com> | 2020-06-24 20:02:40 -0700 |
---|---|---|
committer | Feng Cao <fengcao@google.com> | 2020-06-24 20:07:09 -0700 |
commit | 62cc7dec3f5a586aec44f3037357cbaced4d6426 (patch) | |
tree | 2714b35267b4f8c8bb7b200039f11b10d7814135 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b0f26f32d8d59c52e2fcbf4954451a6edbeac29e (diff) |
Clear inline suggestions before onStartInput instead of before onFinishInput
* In case where there are multiple input fields in a single WebView,
switching focuses between input fields doesn't trigger an onFinishInput
from the previous field. But it always triggers an onStartInput in
the new field. So it's safer to clear the suggestions onStartInput
Test: atest android.autofillservice.cts.inline
Test: atest CtsInputMethodTestCases
Bug: 159479887
Bug: 157515522
Change-Id: Ie380db855fbc93600635790ef5adc1031d6f0787
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions