commit | c5b1c7003f21d33df968b0d27dde22a3e1caab51 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Wed Jul 31 12:59:32 2024 +0800 |
committer | Wei Sheng Shih <wilsonshih@google.com> | Wed Jul 31 11:05:48 2024 +0000 |
tree | 4d99dcd55f8c6ea788f71171210bafc82c8f501b | |
parent | a3292406720e7305be733180e6da47b3f1ac8051 [diff] |
Update receiving dispatcher to ImeOnBackDispatcher after IMM gain focus The InputMethodManager can lost mCurRootView after lost focus, such as screen off. So when screen turned on and IME reshow, the ImeOnBackDispatcher may not able to set OnBackInvokedCallback to mCurRootView immediately, there should wait for IMM re-gain focus. Flag: EXEMPT bugfix Bug: 355006526 Test: atest KeyboardVisibilityControlTest Change-Id: I947f113d7c7b0e79b41d2ac848407a56db9f1fef