Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a481eaf authored by Daniel Yu's avatar Daniel Yu
Browse files

docs: Migrating Scoped Dir Access preview docs into DAC

For Android N release, migrating and updating Scoped Directory Access
docs into regular DAC docs. Updated TOC and added redirect.
Removed preview/features doc. Updated and moved images.

Bug: 30257320
Change-Id: I3440fe1b74947cbfbd1ada6f5d6bee5e49847927
parent bb0f3530
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1214,3 +1214,5 @@ redirects:
  to: /training/tv/tif/content-recording.html
- from: /preview/features/direct-boot.html
  to: /training/articles/direct-boot.html
- from: /preview/features/scoped-folder-access.html
  to: /training/articles/scoped-directory-access.html
+11 −0
Original line number Diff line number Diff line
@@ -252,6 +252,17 @@ external storage on a computer or removes the media, and there's no security enf
save to the external storage. All applications can read and write files placed on the external
storage and the user can remove them.</p>

<h3 id="ScopedDirAccess">Using Scoped Directory Access</h3>

On Android 7.0 or later, if you need access to a specific directory on
external storage, use scoped directory access. Scoped directory access
simplifies how your application accesses standard external storage directories,
such as the <code>Pictures</code> directory, and provides a simple
permissions UI that clearly details what directory the application is
requesting access to. For more details on scoped directory access, see
<a href="{@docRoot}training/articles/scoped-directory-access.html">Using
Scoped Directory Access</a>.

<h3 id="ExternalPermissions">Getting access to external storage</h3>

<p>In order to read or write files on the external storage, your app must acquire the
+64.9 KiB
Loading image diff...
+242 KiB
Loading image diff...
+63.8 KiB
Loading image diff...
Loading