diff options
| author | 2025-02-25 16:28:57 +0000 | |
|---|---|---|
| committer | 2025-03-04 11:02:11 +0000 | |
| commit | a810bd209e7da01c77c397f203d2bddfb2cb783d (patch) | |
| tree | 07c4996d83f0b637f63458a281ef8d09995aa0c8 /libs/androidfw/ResourceTimer.cpp | |
| parent | 93cc9d2f77c18b6783f5b4fd6af931a9a8e6ed50 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions