am e93a4631: am 2ea838d5: Merge "Remove insertion action mode runnable on selection start" into mnc-dev

* commit 'e93a4631fce7e9c1e73380d18f15255032eb46b2':
  Remove insertion action mode runnable on selection start
This commit is contained in:
Clara Bayarri
2015-06-08 17:14:15 +00:00
committed by Android Git Automerger

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