Merge "Exit insert mode when EditText lose focus"

This commit is contained in:
Haoyu Zhang
2023-01-30 18:44:43 +00:00
committed by Android (Google) Code Review

View File

@@ -1637,6 +1637,10 @@ public class Editor {
mSelectionModifierCursorController.resetTouchOffsets();
}
if (mInsertModeController != null) {
mInsertModeController.exitInsertMode();
}
ensureNoSelectionIfNonSelectable();
}
}