diff --git a/docs/html/guide/topics/data/data-storage.jd b/docs/html/guide/topics/data/data-storage.jd index 0d3bb4d151183..46db371a92818 100644 --- a/docs/html/guide/topics/data/data-storage.jd +++ b/docs/html/guide/topics/data/data-storage.jd @@ -178,19 +178,6 @@ android.content.Context#MODE_APPEND}, {@link android.content.Context#MODE_WORLD_READABLE}, and {@link android.content.Context#MODE_WORLD_WRITEABLE}.
-Note: The constants {@link -android.content.Context#MODE_WORLD_READABLE} and {@link -android.content.Context#MODE_WORLD_WRITEABLE} have been deprecated since API level 17. Since -API level 24 their use will result in a {@link java.lang.SecurityException} to be thrown. -This means that apps targeting API level 24 and higher -cannot share private files by name, and attempts to share a "file://" URI will result in a -{@link android.os.FileUriExposedException} to be thrown. If your app needs to share private -files with other apps, it may use a {@link android.support.v4.content.FileProvider} with -the {@link android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION}. -See also Sharing Files. -
-To read a file from internal storage:
Internal storage:
-Note: Before API level 24, internal files could be made accessible to other -apps by means of relaxing file system permissions. This is no longer the case. If you wish -to make the content of a private file accessible to other apps, your app may use the -{@link android.support.v4.content.FileProvider}. See Sharing Files.
Tip: Although apps are installed onto the internal storage by