diff options
author | Ming-Shin Lu <lumark@google.com> | 2020-04-07 23:09:29 +0800 |
---|---|---|
committer | Ming-Shin Lu <lumark@google.com> | 2020-04-08 02:32:04 +0800 |
commit | 0e766c11b021064ee17de5a29b1297b62dd6b520 (patch) | |
tree | ed3c69c43f7fe5b637dfc337796e46dc71653c29 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 614f10947cbca93af464695200b2fb239e39d37b (diff) |
Fix IME insets animation applies again when restartInput called
Since previously mShowRequested will never set as false once
the first showSoftInput calls, unless hideSoftInput be called,
As new insets feature enabled, showSoftInput will always apply insets
animation, that will have a problem that when the app calls restartInput to
re-create input method session, showCurrentInputLocked will be called
and IME insets animation will be applied again.
Set mShowRequested as false when showSoftInput has done.
Fix: 153026470
Test: atest CtsInputMethodTestCases
Change-Id: Ia1ceb8e0e939376eb1d387c864aecd88504f3126
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions