diff options
| -rw-r--r-- | core/java/android/widget/Editor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java index f99f13843bd7..ddb0a8b3bf09 100644 --- a/core/java/android/widget/Editor.java +++ b/core/java/android/widget/Editor.java @@ -2101,7 +2101,7 @@ public class Editor { if (ims != null && ims.mBatchEditNesting == 0) { InputMethodManager imm = getInputMethodManager(); if (imm != null) { - if (imm.isActive(mTextView)) { + if (imm.hasActiveInputConnection(mTextView)) { if (ims.mContentChanged || ims.mSelectionModeChanged) { // We are in extract mode and the content has changed // in some way... just report complete new text to the |