From 3f2dd58872955cd38652007159c81158e2fbaf1b Mon Sep 17 00:00:00 2001 From: Daniel Yu Date: Mon, 2 May 2016 10:11:51 -0700 Subject: [PATCH] docs: Updating Scoped Directory Access docs for N DP3 Adding info about new getStorageVolume(File) API. Bug: 28449136 Change-Id: I33f91a65cb9c926a9f1569bf4bea637f622c1e71 --- docs/html/preview/features/scoped-folder-access.jd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/html/preview/features/scoped-folder-access.jd b/docs/html/preview/features/scoped-folder-access.jd index 814692d695cfb..06dd6652677de 100644 --- a/docs/html/preview/features/scoped-folder-access.jd +++ b/docs/html/preview/features/scoped-folder-access.jd @@ -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 StorageManager.getVolumesList().

+

If you have information about a specific file, use +StorageManager.getStorageVolume(File) to get the +StorageVolume that contains the file. Call +createAccessIntent() on this StorageVolume to access +the external storage directory for the file.

+

On secondary volumes, such as external SD cards, pass in null when calling StorageVolume.createAccessIntent() to request access to the entire