summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Linnan Li <lilinnan@xiaomi.corp-partner.google.com> 2024-07-05 09:11:48 +0000
committer Linnan Li <lilinnan@xiaomi.corp-partner.google.com> 2024-07-05 09:54:29 +0000
commit7714d9d3cfca71c789a2fcf6ebaaf8ab899950f1 (patch)
treeb0b42eca3fd3eee9f7f18de8e61eca8e6b9cbf53 /libs/input/PointerController.cpp
parent29ea2b5a82bd928b1b30dc55d37eb1a60d6f7e1d (diff)
Reset stylus handwriting after IME crashed
Ideally, when handwriting is initiated, the IME should call back to IMMS after finishing the handwriting, but when the IME crashes abnormally, this callback will not be executed according to the expected logic, which will result in the spy window not being removed properly, and the user will no longer be able to operate the screen. Here, we call scheduleResetStylusHandwriting after service disconnect to solve this problem. Bug: 351289050 Test: Start handwriting and keep stylus press on screen, execute `adb shell am crash com.google.android.inputmethod.latin.canary`, then swipe on screen, expect everything to be fine. Change-Id: Ib19eac173b4455cda99c75544ca6f9c70e8a322f Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com>
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions