stopSelectionActionMode();
boolean selectAllGotFocus = mSelectAllOnFocus && mTouchFocusSelected;
- if (hasInsertionController() && !selectAllGotFocus) {
+ if (hasInsertionController() && !selectAllGotFocus && mText.length() > 0) {
getInsertionController().show();
}
}
mLastParentX = coords[0];
mLastParentY = coords[1];
mIsDragging = true;
+ if (mIsInsertionHandle) {
+ mTouchTimer = SystemClock.uptimeMillis();
+ }
break;
}
if (offset != previousOffset) {
updateOffset(handle, offset);
+ removePastePopupCallback();
}
hideDelayed();
}