diff options
author | Tarandeep Singh <tarandeep@google.com> | 2020-01-24 16:05:18 -0800 |
---|---|---|
committer | Tarandeep Singh <tarandeep@google.com> | 2020-01-29 17:51:36 -0800 |
commit | a6590189c8576d61cb87221861a97fd650f8926f (patch) | |
tree | 73a7709c8d613782d42d538017e9cb11a4c70422 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f2316be9c8c468d94c094ca0085e21ce4e0c4b98 (diff) |
Handle IME target change gracefully
App window requests IME, IME would be shown when showSoftInput() is
called from currently IME target.
This CL handles cases when IME target changes after showSoftInput was called
from the initial window and new window has received focus within same
app/task.
This CL also reports current control target on every startInput, which
sets current control target in WM.
Bug: 111084606
Test: atest CtsInputMethodTestCases
1. Open files app
2. Tap editor and make sure IME shows.
3. Open bubbles app.
4. Create a bubble and try typing in it.
5. verify IME shows as expected.
Change-Id: I9e8984b7e5aa989a53ece9e2576393f795b9ef94
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions