Exit insert mode when EditText lose focus
Bug: 266134129 Test: atest TextViewHandwritingGestureTest Change-Id: I54cf4716bb18c632ab60de8be16a723c06b405e7
This commit is contained in:
@@ -1637,6 +1637,10 @@ public class Editor {
|
||||
mSelectionModifierCursorController.resetTouchOffsets();
|
||||
}
|
||||
|
||||
if (mInsertModeController != null) {
|
||||
mInsertModeController.exitInsertMode();
|
||||
}
|
||||
|
||||
ensureNoSelectionIfNonSelectable();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user