diff options
| author | 2024-02-27 20:22:15 +0000 | |
|---|---|---|
| committer | 2024-02-27 20:22:15 +0000 | |
| commit | 8acd1cfe35212e11d222e1a6b35ef99d6f453629 (patch) | |
| tree | 658f47d5d5d4ea4aa38480094042a9df3d622266 | |
| parent | a820b6f87554eaf51a2b4e0cc641807fb77ac234 (diff) | |
| parent | 6f89f22715855c9767c3451f6968af4255a6b4be (diff) | |
Merge "Remove redundant OnCheckIsTextEditor()" into main
| -rw-r--r-- | core/java/android/view/inputmethod/InputMethodManager.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java index 3bce155049c8..f349ae9d8d79 100644 --- a/core/java/android/view/inputmethod/InputMethodManager.java +++ b/core/java/android/view/inputmethod/InputMethodManager.java @@ -3490,8 +3490,7 @@ public final class InputMethodManager { return false; } mServedView = mNextServedView; - if (initiationWithoutInputConnection() && mServedView.onCheckIsTextEditor() - && mServedView.isHandwritingDelegate()) { + if (initiationWithoutInputConnection() && mServedView.isHandwritingDelegate()) { mServedView.getViewRootImpl().getHandwritingInitiator().onDelegateViewFocused( mServedView); } |