Skip to content
Commit 0e766c11 authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

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
parent 614f1094
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment