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

Commit 70291672 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Stop calling IMM#isActive() from TextView#onDraw()" into main

parents f795b5b7 50cf27b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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