summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-08-27 18:26:48 -0700
committerJeff Sharkey <jsharkey@android.com>2013-08-28 20:49:42 -0700
commitaeb16e2435f9975b9fa1fc4b747796647a21292e (patch)
tree2e228b0ca25799bf59472d5df08d71e068498b2b /packages/DocumentsUI/AndroidManifest.xml
parent61f0f9ada51a6718075acfe7fafbb9954f38e980 (diff)
downloadframeworks_base-aeb16e2435f9975b9fa1fc4b747796647a21292e.zip
frameworks_base-aeb16e2435f9975b9fa1fc4b747796647a21292e.tar.gz
frameworks_base-aeb16e2435f9975b9fa1fc4b747796647a21292e.tar.bz2
Stronger DocumentsProvider contract.
Using a contract class requires that a provider implement it exactly with little help. This change introduces a DocumentsProvider abstract class that provides a client-side implementation of the contract that greatly reduces developer burden, and improves correctness. This also moves to first-class DocumentRoot objects, and moves calls with complex side effects to be ContentProvider.call() invocations, offering more granular permission control over Uri operations that shouldn't be available through Uri grants. This new design also relaxes the requirement that root information be burned into every Uri. Migrate ExternalDocumentsProvider and DocumentsUI to adopt new API. Bug: 10497206 Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743
Diffstat (limited to 'packages/DocumentsUI/AndroidManifest.xml')
-rw-r--r--packages/DocumentsUI/AndroidManifest.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/DocumentsUI/AndroidManifest.xml b/packages/DocumentsUI/AndroidManifest.xml
index d79f5c6..6cc92e3 100644
--- a/packages/DocumentsUI/AndroidManifest.xml
+++ b/packages/DocumentsUI/AndroidManifest.xml
@@ -35,9 +35,9 @@
</intent-filter>
<!-- data expected to point at existing root to manage -->
<intent-filter>
- <action android:name="android.intent.action.MANAGE_DOCUMENT" />
+ <action android:name="android.provider.action.MANAGE_DOCUMENTS" />
<category android:name="android.intent.category.DEFAULT" />
- <data android:mimeType="vnd.android.cursor.item/root" />
+ <data android:mimeType="vnd.android.doc/dir" />
</intent-filter>
</activity>