title: Grant uri permission to uri in EXTRA_STREAM in intent
body: <p>With <code>FLAG_GRANT_READ_URI_PERMISSION</code> in intent that passed to <code>startActivity</code>, we can grant <code>Uri</code> permission if the uri is set using <code>setData</code>. But if the <code>Uri</code> in put in <code>EXTRA_STREAM</code>, the <code>Uri</code> is not granted before <strong>jeallybean</strong>.  </p>
  
  <p>I know we can use <code>grantUriPermission</code> followed by a <code>revokeUriPermission</code> to cancel back the permission granted. But it seems that there is no good place to run <code>revokeUriPermission</code>.</p>
  
  <p>Is there any better solution? Or any suggestion to put <code>revokeUriPermission</code>? Thanks in advance.</p>
  
  <p>Related link: <a href="https://stackoverflow.com/questions/13435654/how-to-grant-temporary-access-to-custom-content-provider-using-flag-grant-read-u">How to grant temporary access to custom content provider using FLAG_GRANT_READ_URI_PERMISSION</a></p>