summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Shan Huang <shanh@google.com> 2023-02-24 18:53:09 -0800
committer Shan Huang <shanh@google.com> 2023-02-28 16:27:27 +0000
commit3fd0b400ee46089d3a6eb5afafe67d6231f68cf5 (patch)
treeb07d551914a67b1f79eccc3a907fd8f25086123c /cmds/bootanimation/BootAnimationUtil.cpp
parent031692c511c0aace8c1eb1efe0c1a199ffb94db1 (diff)
Do not forward & register IME compat back callback in the app process.
IME window's ViewRootImpl registers its compat callback when the first child view is added. If the app dispatches start input and sets a forwarding dispatcher on the IME's WindowOnBackInvokedDispatcher, before IME ViewRootImpl receives its first child, the compat callback would be forwarded to app process and registered on the app window. We should prevent this from happening because the IME window never has focus and the compat callback will just get stuck and break back nav. Test: m -j. Test: for run in {1..500}; do adb shell input tap 164 1950; sleep 1; adb shell input swipe 50 1000 200 1000; sleep 1; done Bug: 269821450 Change-Id: I9157d8d9c85edc29a5d004709c2cd3e25764b56a
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions