Merge "DO NOT MERGE copy selected text on tap" into gingerbread

This commit is contained in:
Cary Clark
2010-08-27 08:12:34 -07:00
committed by Android (Google) Code Review

View File

@@ -5161,13 +5161,10 @@ public class WebView extends AbsoluteLayout
} }
} else { } else {
if (mSelectingText) { if (mSelectingText) {
// tapping on selection or controls does nothing if (nativeHitSelection(contentX, contentY)) {
if (!nativeHitSelection(contentX, contentY)) { copySelection();
if (mMapTrackballToArrowKeys) { // gmail
copySelection();
}
selectionDone();
} }
selectionDone();
break; break;
} }
if (mTouchMode == TOUCH_INIT_MODE) { if (mTouchMode == TOUCH_INIT_MODE) {