Merge "docs: Added permissions note for Context.getFilesDir. Bug: 13716053" into klp-docs
This commit is contained in:
committed by
Android (Google) Code Review
commit
ff3d89c08c
@@ -530,6 +530,9 @@ public abstract class Context {
|
|||||||
* Open a private file associated with this Context's application package
|
* Open a private file associated with this Context's application package
|
||||||
* for writing. Creates the file if it doesn't already exist.
|
* for writing. Creates the file if it doesn't already exist.
|
||||||
*
|
*
|
||||||
|
* <p>No permissions are required to invoke this method, since it uses internal
|
||||||
|
* storage.
|
||||||
|
*
|
||||||
* @param name The name of the file to open; can not contain path
|
* @param name The name of the file to open; can not contain path
|
||||||
* separators.
|
* separators.
|
||||||
* @param mode Operating mode. Use 0 or {@link #MODE_PRIVATE} for the
|
* @param mode Operating mode. Use 0 or {@link #MODE_PRIVATE} for the
|
||||||
@@ -587,6 +590,9 @@ public abstract class Context {
|
|||||||
* Returns the absolute path to the directory on the filesystem where
|
* Returns the absolute path to the directory on the filesystem where
|
||||||
* files created with {@link #openFileOutput} are stored.
|
* files created with {@link #openFileOutput} are stored.
|
||||||
*
|
*
|
||||||
|
* <p>No permissions are required to read or write to the returned path, since this
|
||||||
|
* path is internal storage.
|
||||||
|
*
|
||||||
* @return The path of the directory holding application files.
|
* @return The path of the directory holding application files.
|
||||||
*
|
*
|
||||||
* @see #openFileOutput
|
* @see #openFileOutput
|
||||||
|
|||||||
Reference in New Issue
Block a user