Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a810bd20 authored by Felix Stern's avatar Felix Stern
Browse files

Reset requestedVisibleTypes after returning to window without editor focussed

The IME should not show after retuning to a window if there is no editor focussed, even if the requestedVisibleTypes for that window are set. Formerly, we only reset the requestedVisibleTypes for the IME, if it was shown and no editor focussed.
This CL passes the requested IME visibility when calling startInputOrWindowGainedFocus, so we can take that into account, whether the IME should be hidden.

Fix: 396065313
Flag: android.view.inputmethod.refactor_insets_controller
Test: manual: Open window and show IME
              Open other window on top (both visible); IME should hide
              Remove editorFocus of 1st window
              Close 2nd window; verify IME not showing
Change-Id: Ie20b4f9b83227bf674aeb85059693393cb86e39d
parent 93cc9d2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment