diff options
| author | 2022-12-09 06:49:46 +0000 | |
|---|---|---|
| committer | 2023-01-11 02:09:29 +0000 | |
| commit | a549d5a462f5aba3f0846490d3df61c62cf8c37a (patch) | |
| tree | 7396963fddd282cf87b5f4f8306e5d7e53e446e6 /libs/hwui/DeviceInfo.h | |
| parent | cc573687c72b3fe6cf61af639304422e78050d58 (diff) | |
Remove IMMS#mShowRequested
Now we have ImeTargetWindow#isRequestedImeVisible as per-window state,
To avoid this global visible state may cause some system controlled IME
visiblity issues, replace mShowRequested with
IMMS#isShowRequestedForCurrentWindow() to get the requested IME visible
state from the current focused window.
Also, in case in IMMS side may not be able to restore the IME visibility
when the activity got relaunched, updates AR#mLastImeShown state when
relaunching the activity without preserving window, and modifies
shouldRestoreImeVisiblity(windowToken) for IMMS to restore the last IME
visiblity state for that relaunching activity window.
Bug: 246309664
Test: atest InputMethodVisibilityControlTest
Test: atest CtsInputMethodDeviceTests
Change-Id: I9e69043d4aeaa2931ea192692007c7ca6420a107
Diffstat (limited to 'libs/hwui/DeviceInfo.h')
0 files changed, 0 insertions, 0 deletions