From 77797400ec103b1691e1c3fa602c329b49ac18ca Mon Sep 17 00:00:00 2001 From: Ben Kwa Date: Fri, 29 May 2015 15:40:31 -0700 Subject: 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 --- api/current.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api/current.txt') diff --git a/api/current.txt b/api/current.txt index 41acac5..1d5ee2a 100644 --- a/api/current.txt +++ b/api/current.txt @@ -26035,6 +26035,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"; -- cgit v1.1