diff options
author | Tarandeep Singh <tarandeep@google.com> | 2018-01-29 16:20:32 -0800 |
---|---|---|
committer | Tarandeep Singh <tarandeep@google.com> | 2018-01-31 11:28:23 -0800 |
commit | eb5706183f62b9230fb1ae9eb22254a062e7869c (patch) | |
tree | f6e493f4f0f1cb75c0c9c5fd6bde69977d6da9ae /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | df2491a454976ab8eccc737c25d96fdc0f18e7f7 (diff) |
Fix checks for showing InputMethod picker
When user tries to switch IME, IMMS.showInputMethodPickerFromClient()
is called. The call fails to validate in newly introduced
canShowInputMethodPickerLocked() in
I4f0fc21268200c64d12b31ca54416acfbf62f37b because
mCurClient.client != client.
This is happening since the new client never started input ever since
we prevented calls to startInputUncheckedLocked in
Ibf9dab3d9c138b5f04e053d41ee4fd248c78e4da.
The fix is to update mCurFocusedWindowClient.client instead of
mCurclient.client in canShowInputMethodPickerLocked()
Fixes: 72557082
Test: manually using the steps in bug
Test: atest InputMethodManagerTest
Change-Id: I4e21625c32a0ca1abc740229efb3c7fcd97141cc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions