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

Skip to content
Commit d87895b9 authored by Felix Stern's avatar Felix Stern
Browse files

Refactor show/hide IME process

Changing the process of how the IME is shown or hidden:
- Showing or hiding the IME is driven through its requested visibility (InsetsControlTarget) via InsetsController/DisplayImeController and thus sent to the server (InsetsStateController).
- When hiding the IME, the requestedVisibleTypes are sent after the end of the animation.
- Introduced new OnImeRequestedChangedListener that is called via WindowManagerService that is called to start the show/hide IME flow in IMMS.
- When the IME becomes (un)available, its leash is (re)set.
- Show/Hide requests from InputMethodManager are redirected through InsetsController.

Test: atest CtsInputMethodTestCases
Flag: android.view.inputmethod.Flags.refactorInsetsController
Bug: 298172246
Change-Id: I8e3a74ee579f085cb582040fdba725e7a63d6b85
parent 9ec62d0b
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