OSDN Git Service

Update docs to reflect adoptable behavior.
authorJeff Sharkey <jsharkey@android.com>
Wed, 14 Oct 2015 20:56:23 +0000 (13:56 -0700)
committerJeff Sharkey <jsharkey@google.com>
Fri, 16 Oct 2015 16:18:50 +0000 (16:18 +0000)
commitb3898341a9045cd9593058c6fd062c5f3641201e
tree0bbc10df4ad0e1299f1d8057f25f45e2cabd4c57
parent21c95b65b77e0ee7929fabdeee6bb71e504225c2
Update docs to reflect adoptable behavior.

Update storage related docs on Context to be consistent, and to call
out relevant Environment methods.  Start calling it "shared" storage,
and only mention external for historical reasons.  Mention that there
isn't much benefit to using emulated storage over private data
directories to help guide developers to safer locations.

Point out which paths can change over time, so developers know to
only persist relative paths.

Update Environment docs to reflect how they behave for the new
class of adopted storage devices.

Bug: 24251945
Change-Id: Ie5ab337649b4740dfd7594997bbb19c4969cfd2f
(cherry picked from commit 59d28dc82000b1696ed9ef7ef2c0d7fbb2834100)
core/java/android/content/Context.java
core/java/android/os/Environment.java