diff options
author | Adrian Roos <roosa@google.com> | 2020-07-17 15:13:26 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2020-07-17 18:09:13 +0200 |
commit | a24622cfcdb341d62f0c65137361b6d5f9220151 (patch) | |
tree | b86355d88b5584536376b978d559fff8811564ba /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7368ed7d038667d01b14cccfef050ef45e78d784 (diff) |
Fix hiding keyboard animation stuck while dialog dismissing.
When dismissing a dialog with EditText focused and keyboard shown,
the keyboard does not get correctly dismissed.
This happens because after CL[1] landed, returning to the activity won't start
new input connection, and the activity will thus not regain control over
the IME.
This fix restores the previous behavior, where IMM will start a fake input
connection even without an editor.
[1]: I1ef3d341af9d473d94d52fd1890deafbae2bc9e1
Fix: 161273049
Test: atest CtsInputMethodTestCases
Test: manual as follows
0) Have some files downloaded in the device
1) Launch Files app > Browse > Click Internal Storage
2) Long press on any file > From menu, click "Rename"
3) Enter some name with soft keyboard and click "OK"
4) Expect Keyboard should hide
Change-Id: I022ad658844142ff4a4cf3b91953013f2bfbb58a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions