Merge "Fix NPE in InsertionPointCursorController.onTouchEvent"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d69517ebf1
@@ -5737,7 +5737,7 @@ public class Editor {
|
||||
private boolean mIsDraggingCursor;
|
||||
|
||||
public void onTouchEvent(MotionEvent event) {
|
||||
if (getSelectionController().isCursorBeingModified()) {
|
||||
if (hasSelectionController() && getSelectionController().isCursorBeingModified()) {
|
||||
return;
|
||||
}
|
||||
switch (event.getActionMasked()) {
|
||||
|
||||
Reference in New Issue
Block a user