summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-06-21 16:24:36 -0700
committerYohei Yukawa <yukawa@google.com>2018-06-21 16:24:36 -0700
commit80498d557670219b4342b8d1e1ac61468d734a64 (patch)
tree6a4b521759540b318b4ce691575cbbfb1e68b3ba /tools/aapt2/java/JavaClassGenerator_test.cpp
parent594c88f79cef0e75862c29600819818cfb86c5a2 (diff)
Always send WindowToken when starting IME input
In InputMethodManagerService, windowGainedFocus() is a superset of startInput(). If the window specified to windowGainedFocus() is already seen in IMMS#mCurFocusedWindow, windowGainedFocus() just works like startInput(). If the window specified to windowGainedFocus() does not match to IMMS#mCurFocusedWindow, then it takes care of everything we need to change the IME target window including tasks that startInput() does. The reason why we still have startInput() is just because my previous CL [1], which unified windowGainedFocus() and startInput() with keeping the existing behavior, did not intend to change the existing behavior. Now that we are going to enforce true traceability between input session and target application window, IMMS#windowGainedFocus() is what we want to always rely on. Bug: 110531072 Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases Change-Id: I24feedf9ef5aca90ef947f4f2aa3e78365fd8c8a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions