title: Android - long pressing to open the context menu on a TextView also triggers an autoLink click
body: <p>I have a TextView that launches a context menu:</p>
  
  <pre><code>textView.setOnCreateContextMenuListener(new OnCreateContextMenuListener() {
              @Override
              public void onCreateContextMenu(ContextMenu contextMenu, 
                                              View view,
                                              ContextMenu.ContextMenuInfo contextMenuInfo) {
                  // Do stuff... 
              }
          });
  </code></pre>
  
  <p>This textview also has the <code>android:autoLink="all"</code> attribute set in its XML.</p>
  
  <p>Now, if I set the contents of the TextView to a URL and long press over the URL, the context menu appears first, but when I lift my finger the link is pressed and opens the browser.</p>
  
  <p>Is there any way to have the context menu or the long press consume the touch event so that the link is not clicked? I have considered overriding <code>onTouch()</code> for the TextView to handle ACTION_UP events, but I cannot reliably keep track of when the context menu is visible to block the touch event.</p>