title: Android Chrome shares only screenshot
body: <p>I want to share the current url via Chrome on Android to my app. I have registered a share-intent and the share-filter. So far i get a shared screenshot, but not the url. What am i doing wrong?</p>
  
  <p>manifest-file</p>
  
  <pre><code>&lt;activity
          android:name=".activity.share.ShareActivity"
          android:label="@string/app_name"
          android:theme="@style/Theme.AppCompat.Light"&gt;
          &lt;!-- Parent activity meta-data to support API level 7+ --&gt;
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value=".activity.main.MainActivity" /&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.SEND" /&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;data android:mimeType="text/plain" /&gt;
      &lt;/intent-filter&gt;
  </code></pre>
  
  <p>This is the code-snippet used in a method in the ShareActivity class</p>
  
  <pre><code>public URI shareUriFromIntent() {
      Intent intent = getIntent();
      String action = intent.getAction();
      String type = intent.getType();
      if (type != null &amp;&amp; "text/plain".equals(type)) {
          ClipData data = intent.getClipData();
          for (int i = 0; i &lt; data.getItemCount(); i++) {
              ClipData.Item item = data.getItemAt(i);
  
  //breakpoint: output&gt; ClipData { text/uri-list "" {U:content://com.android.chrome.FileProvider/images/screenshot/1462970510861-711948848.jpg} }
  
                  if (item.getText() != null) {
                      String shareText = item.getText().toString();
                      if (shareText.contains("http:/")
                              || shareText.contains("https:/")) {
                          shareText = shareText.substring(shareText.indexOf("http"));
                          return URI.create(shareText); 
                      }
                  }
              }
          }
      return null;
      }
  </code></pre>
  
  <p>There is no url or uri, i would have used. What am i doing wrong?</p>