summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2023-06-12 04:21:21 +0000
committer Ming-Shin Lu <lumark@google.com> 2023-06-19 01:19:29 +0000
commit56fa64663f909bf79367c3c2122737a6c7a8c0d1 (patch)
tree86122415674b569bc336d737e344a69b7ff195a4 /libs/androidfw/FileStream.cpp
parentd6d7f44c094869bc27935a5695bfd2d32bbe785d (diff)
Fix IME insets not apply hidden when switching focus in diffrent users
Normally, the focus window will apply the IME visibility state to WindowManager when the IME has applied it. But it would be too late when switching IMEs in between different users. (Since the focused IME will first unbind the service to switch to bind the next user of the IME service, that wouldn't make the attached IME token validity check in time) As a result, we have to notify WM to apply IME visibility before clearing the binding states in the first place. Fix: 285821212 Test: manual as issue steps 1. Launch youtube with personal profile 2. Launch Gmail with work profile 3. Split youtube with personal profile and gmail with work profile (The Work Profile app is split and shown upper) 4. Typing something with personal profile app 5. Click work profile app at blank space. (Non input box) 6. Expects IME insets should be hidden without seeing the black area Test: atest DefaultImeVisibilityApplierTest#\ testApplyImeVisibility_hideImeWhenUnbinding Change-Id: I0873ec065722e9e0b22dd5010d3415d3704cfd2d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions