Merge "Note API alternatives in javadoc" into sc-v2-dev am: 138f08b5de
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15390553 Change-Id: If7d9fc69b060bb9ff686c153329736f76d7f3063
This commit is contained in:
@@ -693,6 +693,9 @@ public class Environment {
|
|||||||
* <p>
|
* <p>
|
||||||
* {@sample development/samples/ApiDemos/src/com/example/android/apis/content/ExternalStorage.java
|
* {@sample development/samples/ApiDemos/src/com/example/android/apis/content/ExternalStorage.java
|
||||||
* monitor_storage}
|
* monitor_storage}
|
||||||
|
* <p>
|
||||||
|
* Note that alternatives such as {@link Context#getExternalFilesDir(String)} or
|
||||||
|
* {@link MediaStore} offer better performance.
|
||||||
*
|
*
|
||||||
* @see #getExternalStorageState()
|
* @see #getExternalStorageState()
|
||||||
* @see #isExternalStorageRemovable()
|
* @see #isExternalStorageRemovable()
|
||||||
@@ -993,6 +996,9 @@ public class Environment {
|
|||||||
* </p>
|
* </p>
|
||||||
* {@sample development/samples/ApiDemos/src/com/example/android/apis/content/ExternalStorage.java
|
* {@sample development/samples/ApiDemos/src/com/example/android/apis/content/ExternalStorage.java
|
||||||
* public_picture}
|
* public_picture}
|
||||||
|
* <p>
|
||||||
|
* Note that alternatives such as {@link Context#getExternalFilesDir(String)} or
|
||||||
|
* {@link MediaStore} offer better performance.
|
||||||
*
|
*
|
||||||
* @param type The type of storage directory to return. Should be one of
|
* @param type The type of storage directory to return. Should be one of
|
||||||
* {@link #DIRECTORY_MUSIC}, {@link #DIRECTORY_PODCASTS},
|
* {@link #DIRECTORY_MUSIC}, {@link #DIRECTORY_PODCASTS},
|
||||||
|
|||||||
Reference in New Issue
Block a user