Browser: Remove Select Text when longpressing on link

When a longpress is performed on a browser link,
context menu will be launched. One of the alternatives
"Select text", does not trigger any action when selected.

Remove this alternative since there are no action implemented
to handle this selection. Copying the link will still work as
before.

CRs-Fixed: 561520

Change-Id: I26d990a58e6cd60606ed0644b7ea0e74397d0e8f
diff --git a/res/menu/browsercontext.xml b/res/menu/browsercontext.xml
index baf5b42..c8f827f 100755
--- a/res/menu/browsercontext.xml
+++ b/res/menu/browsercontext.xml
@@ -55,10 +55,6 @@
         <item android:id="@+id/share_link_context_menu_id"
             android:title="@string/contextmenu_sharelink"/>
     </group>
-    <group android:id="@+id/SELECT_TEXT_MENU">
-        <item android:id="@+id/select_text_menu_id"
-            android:title="@string/select_dot"/>
-    </group>
     <group android:id="@+id/MY_NAVIGATION_MENU">
         <item android:id="@+id/edit_my_navigation_context_menu_id"
             android:title="@string/my_navigation_edit_label"/>
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index fddb0fe..00aac08 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1472,15 +1472,6 @@
                             || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE);
         }
 
-        boolean hitText = type == WebView.HitTestResult.SRC_ANCHOR_TYPE
-                || type == WebView.HitTestResult.PHONE_TYPE
-                || type == WebView.HitTestResult.EMAIL_TYPE
-                || type == WebView.HitTestResult.GEO_TYPE;
-        menu.setGroupVisible(R.id.SELECT_TEXT_MENU, hitText);
-        if (hitText) {
-            menu.findItem(R.id.select_text_menu_id)
-                    .setOnMenuItemClickListener(new SelectText(webview));
-        }
         // Setup custom handling depending on the type
         switch (type) {
             case WebView.HitTestResult.PHONE_TYPE: