Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7714d9d3 authored by Linnan Li's avatar Linnan Li
Browse files

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: default avatarLinnan Li <lilinnan@xiaomi.corp-partner.google.com>
parent 29ea2b5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment