diff options
| author | 2025-02-13 14:32:32 +0000 | |
|---|---|---|
| committer | 2025-02-17 09:52:35 +0000 | |
| commit | 23998b60dec0350485c202cd5aa3ddde575fe4f9 (patch) | |
| tree | c40bb5975b1aeb8db3a4baa3d06c622b7c28b795 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 5e6a3f32768ca80fc04af46fcc90f0e67f43c2c9 (diff) | |
Changing IMM#hideSoftInputFromWindow return value for app with target SDK's < B
Some older apps are calling InputMethodManager#hideSoftInputFromWindow multiple times, until it returns false, to show then their in-app keyboard. Before Android Baklava, the return value was an indicator, whether the request has been send to IMMS. For apps targeting those releases, we return true only if the IME was requested visible before.
Apps that target Android Baklava and onwards should use the View.OnApplyWindowInsetsListener to get changes in the IME visibility.
Fix: 395521150
Fix: 395986009
Flag: android.view.inputmethod.refactor_insets_controller
Test: manual with app with targetSDK < Android Baklava: call IMS#hideSoftInputFromWindow while IME is showing (expect true), and while hidden (expect false)
Change-Id: I1e4588f017fecd49b3aa999fa7749ae7a3bb0d1e
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions