diff options
| author | ryanlwlin <ryanlwlin@google.com> | 2021-10-26 13:42:50 +0800 |
|---|---|---|
| committer | ryanlwlin <ryanlwlin@google.com> | 2021-10-28 14:51:31 +0800 |
| commit | 47044ac76d7c23169ee1faff99fb884fe7ffb9da (patch) | |
| tree | d356575b59b52b10bae0bb94642162fd81e5d749 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 8d2d9ded31af92d18d2e312fc842454fa18ca8f6 (diff) | |
Fix incorrect IME visibility when the IME window is hidden
When onSurfaceShownChanged is invoked, we determine if the IME
window is visible, which is not correct because IME window might
not be visible on the screen but its surface is visible.
To determine the visiblity of the IME, we use ime inset visibility,
and check it when the window insets is changed.
Bug: 194668976
Test: manual test
atest MagnificationControllerTest
Change-Id: I202ddb41ddde94f1afa96541795dc8ed1d727a0f
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
