Merge "Remove insertion action mode runnable on selection start" into mnc-dev

This commit is contained in:
Clara Bayarri
2015-06-08 16:50:50 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {