Register DocumentsProvider with <intent-filter>.
Jeff Sharkey [Wed, 9 Oct 2013 20:57:41 +0000 (13:57 -0700)]
Follows API change in framework.

Bug: 11109484
Change-Id: Icc3d4205b5f33f3821810c4a0692a030228363b7

AndroidManifest.xml

index 8e848d5..56cdb9c 100644 (file)
@@ -85,9 +85,9 @@
             android:grantUriPermissions="true"
             android:exported="true"
             android:permission="android.permission.MANAGE_DOCUMENTS">
-            <meta-data
-                android:name="android.content.DOCUMENT_PROVIDER"
-                android:value="true" />
+            <intent-filter>
+                <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
+            </intent-filter>
         </provider>
 
         <service android:name=".DownloadService"