summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Linnan Li <lilinnan@xiaomi.corp-partner.google.com> 2024-08-16 00:26:45 +0000
committer Justin Ghan <justinghan@google.com> 2024-08-16 16:41:51 +0000
commitdd18ed8e9f0411a0c2e6fc93ada6a7af5658733e (patch)
tree790aef7402d7e36359a7693c5fcbdfc8396364e6 /libs/androidfw/StringPool.cpp
parent2e7481d198e55525e7b8d4bcce24eb03fa7aa024 (diff)
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: Linnan Li <lilinnan@xiaomi.corp-partner.google.com> Merged-In: Id5256724ed0d454bad3e81ec3f28d009ec0ae252 Change-Id: Id5256724ed0d454bad3e81ec3f28d009ec0ae252
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions