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

Merge commit 'c28bf25bc5d9fd729b9e6593168cf61a87cf586c' into gingerbread-plus-aosp

* commit 'c28bf25bc5d9fd729b9e6593168cf61a87cf586c':
  DO NOT MERGE copy selected text on tap
This commit is contained in:
Cary Clark
2010-08-27 08:17:02 -07:00
committed by Android Git Automerger

View File

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