Merge "Remove insertion action mode runnable on selection start" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2ea838d539
@@ -1752,11 +1752,10 @@ public class Editor {
|
||||
* @return true if the drag was started.
|
||||
*/
|
||||
private boolean selectCurrentWordAndStartDrag() {
|
||||
if (mInsertionActionModeRunnable != null) {
|
||||
mTextView.removeCallbacks(mInsertionActionModeRunnable);
|
||||
}
|
||||
if (extractedTextModeWillBeStarted()) {
|
||||
// Cancel the single tap delayed runnable.
|
||||
if (mInsertionActionModeRunnable != null) {
|
||||
mTextView.removeCallbacks(mInsertionActionModeRunnable);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (mTextActionMode != null) {
|
||||
|
||||
Reference in New Issue
Block a user