Merge "docs: Updating Scoped Directory Access docs for N DP3" into mnc-io-docs

am: a7c2ef588b

* commit 'a7c2ef588b75af17918f9f74aee6163048b73c55':
  docs: Updating Scoped Directory Access docs for N DP3

Change-Id: Ia734871132f309c4ffd316ea03341fd5d0f687ed
This commit is contained in:
Daniel Yu
2016-05-11 23:17:15 +00:00
committed by android-build-merger

View File

@@ -44,6 +44,12 @@ Use this intent to access external storage directories. To get a list of
all available volumes, including removable media volumes, use
<code>StorageManager.getVolumesList()</code>.</p>
<p>If you have information about a specific file, use
<code>StorageManager.getStorageVolume(File)</code> to get the
<code>StorageVolume</code> that contains the file. Call
<code>createAccessIntent()</code> on this <code>StorageVolume</code> to access
the external storage directory for the file.</p>
<p>
On secondary volumes, such as external SD cards, pass in null when calling
<code>StorageVolume.createAccessIntent()</code> to request access to the entire