Skip to content
Commit b081c427 authored by Adrian Roos's avatar Adrian Roos
Browse files

Fix unexpected IME show because of stale requestedVisibleAwaitingControl

Fixes an issue where the IME would unexpectedly open whenever the
controls change because requestedVisibleAwaitingControl might
be stale.

To fix this, we clear the flag whenever it has been applied after
gaining control, when we hide the IME.

Fixes: 181218935
Test: atest 'WindowInsetsControllerTests#testShowImeOnCreate_doesntCauseImeToReappearWhenDialogIsShown'
Change-Id: I251707fc72c908829f2e69d5b1667e71123fbd0f
parent 01dabee9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment