commit | 47044ac76d7c23169ee1faff99fb884fe7ffb9da | [log] [tgz] |
---|---|---|
author | ryanlwlin <ryanlwlin@google.com> | Tue Oct 26 13:42:50 2021 +0800 |
committer | ryanlwlin <ryanlwlin@google.com> | Thu Oct 28 14:51:31 2021 +0800 |
tree | d356575b59b52b10bae0bb94642162fd81e5d749 | |
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