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

Skip to content
Commit e6069c98 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix back swipes/presses ignored during IME hide animation

This change unregisters all IME callbacks when a IME hide animation starts, such that new back events immediately start dispatching to the next back callback.

In case the hide animation is interrupted causing the IME to reappear (before fully disappearing), the previously unregistered IME back callbacks are reregistered to restore a valid callback state.

Bug: 375986921
Test: Manual, i.e. verifying that quick double back swipes are handled correctly (including after an interrupted IME hide animation)
Test: ImeBackAnimationControllerTest
Flag: android.view.inputmethod.refactor_insets_controller
Change-Id: Ic6b2229cae21e91c85f32c5dec4ca1845962ae31
parent 4a10fd11
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