diff options
author | Ben Kwa <kenobi@google.com> | 2015-05-29 15:40:31 -0700 |
---|---|---|
committer | Ben Kwa <kenobi@google.com> | 2015-06-10 11:24:55 -0700 |
commit | 77797400ec103b1691e1c3fa602c329b49ac18ca (patch) | |
tree | bc9ea8cd42536ddeaf4fb2a50cdb05d8af38d6b8 /api/system-current.txt | |
parent | 327c364113c18c9d5a05df0c912b65788461da41 (diff) | |
download | frameworks_base-77797400ec103b1691e1c3fa602c329b49ac18ca.zip frameworks_base-77797400ec103b1691e1c3fa602c329b49ac18ca.tar.gz frameworks_base-77797400ec103b1691e1c3fa602c329b49ac18ca.tar.bz2 |
Enable apps to exclude their own roots from the DocumentsUI roots list.
- Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra)
- Add code to DocumentsActivity to cache the providers of the calling
app if EXTRA_EXCLUDE_SELF is set on incoming Intents.
- Add code to RootsCache to exclude roots from the calling app.
- Add code to allow only system apps to use EXTRA_PACKAGE_NAME.
Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e
Diffstat (limited to 'api/system-current.txt')
-rw-r--r-- | api/system-current.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 0f6bd2a..3409f6a 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -27958,6 +27958,7 @@ package android.provider { method public static boolean isDocumentUri(android.content.Context, android.net.Uri); method public static android.net.Uri renameDocument(android.content.ContentResolver, android.net.Uri, java.lang.String); field public static final java.lang.String EXTRA_ERROR = "error"; + field public static final java.lang.String EXTRA_EXCLUDE_SELF = "android.provider.extra.EXCLUDE_SELF"; field public static final java.lang.String EXTRA_INFO = "info"; field public static final java.lang.String EXTRA_LOADING = "loading"; field public static final java.lang.String PROVIDER_INTERFACE = "android.content.action.DOCUMENTS_PROVIDER"; |