diff options
| author | 2024-02-27 06:20:51 +0000 | |
|---|---|---|
| committer | 2024-02-27 18:20:15 +0000 | |
| commit | 6f89f22715855c9767c3451f6968af4255a6b4be (patch) | |
| tree | 3b8fe2c8fe8ed0207de0674e5970d21fd5394adf /libs/androidfw/StringPool.cpp | |
| parent | af9ab323ec072290ab4615ed8d0d7d847857c468 (diff) | |
Remove redundant OnCheckIsTextEditor()
In [1] we introduced handwriting initiation enhancements which added a
check for View#onCheckIsTextEditor in IMM#checkFocusInternal. This check
is redundant as View#isHandwritingDelegate already ensures that.
Also, having this breaks
testOnCheckIsTextEditorRunOnUIThreadWithInputMethodManagerIsActive which ensures that IMM#isActive() can be called from background thread we should avoid any calls to onCheckIsTextEditor
This CL doesn't have any behavior change
[1]: I0174e15fbbedf88dcd68ebe98333b6b07871985a
Bug: 308827131
Test: atest CtsInputMethodTestCases
Change-Id: Ifa490db69a011aa14eba0328df0a0661f04173ae
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions