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

Commit dd18ed8e authored by Linnan Li's avatar Linnan Li Committed by Justin Ghan
Browse files

Fix handwriting trigger on wrong textfield



In order to start handwriting faster, we have introduced the ability to
start handwriting based on the EditText that currently has the focus,
if the focus is switched to an EditText that doesn't support
handwriting, we should clear the current focus View, otherwise there
will be a difference between the EditText that has the focus and the
actual EditText will be inconsistent with the actual EditText. This
will cause handwriting to be triggered incorrectly for some EditTexts.

Bug: 353651951
Test: atest StylusHandwritingTest
Flag: android.view.inputmethod.initiation_without_input_connection

Signed-off-by: default avatarLinnan Li <lilinnan@xiaomi.corp-partner.google.com>
Merged-In: Id5256724ed0d454bad3e81ec3f28d009ec0ae252
Change-Id: Id5256724ed0d454bad3e81ec3f28d009ec0ae252
parent 2e7481d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment