summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2024-11-05 15:47:15 +0000
committer Johannes Gallmann <gallmann@google.com> 2024-11-06 11:03:09 +0000
commite6069c98484f03136ec18429ae98d394e2712bbe (patch)
tree618533af3b24176e572a227bc927492da1803a06 /api/api_test.go
parent4a10fd115187379d592904e68221540c9ed70215 (diff)
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions