summaryrefslogtreecommitdiffstats
path: root/packages/ExternalStorageProvider/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-03 15:25:52 -0700
committerJeff Sharkey <jsharkey@android.com>2013-09-03 17:02:47 -0700
commit954be0232655d316bc5decbbd35579af902c75c2 (patch)
tree745d4ea34ad245f3e9d87ef19a8910d47cdd3ad4 /packages/ExternalStorageProvider/AndroidManifest.xml
parentded77187ef53341765fcab8e29cda94810fc2ca5 (diff)
downloadframeworks_base-954be0232655d316bc5decbbd35579af902c75c2.zip
frameworks_base-954be0232655d316bc5decbbd35579af902c75c2.tar.gz
frameworks_base-954be0232655d316bc5decbbd35579af902c75c2.tar.bz2
Show loading, error, and info messages as footers.
A provider can include extras in their Cursors to indicate that loading is ongoing, or include an error or informational message, which are now shown in footer views. Fix registration to always get change notifications. Test provider that verifies common provider behavior of holding a reference to "cloud" resources that are released by GC when the remote Cursor is closed. Also used to validate Recents behavior for slow providers. Bug: 10599268 Change-Id: I331c31058dbb80261e7d279b851197c65ac87e32
Diffstat (limited to 'packages/ExternalStorageProvider/AndroidManifest.xml')
-rw-r--r--packages/ExternalStorageProvider/AndroidManifest.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/packages/ExternalStorageProvider/AndroidManifest.xml b/packages/ExternalStorageProvider/AndroidManifest.xml
index 5272166..7094efc 100644
--- a/packages/ExternalStorageProvider/AndroidManifest.xml
+++ b/packages/ExternalStorageProvider/AndroidManifest.xml
@@ -13,7 +13,20 @@
android:permission="android.permission.MANAGE_DOCUMENTS">
<meta-data
android:name="android.content.DOCUMENT_PROVIDER"
- android:resource="@xml/document_provider" />
+ android:value="true" />
+ </provider>
+
+ <!-- TODO: find a better place for tests to live -->
+ <provider
+ android:name=".TestDocumentsProvider"
+ android:authorities="com.example.documents"
+ android:grantUriPermissions="true"
+ android:exported="true"
+ android:permission="android.permission.MANAGE_DOCUMENTS"
+ android:enabled="false">
+ <meta-data
+ android:name="android.content.DOCUMENT_PROVIDER"
+ android:value="true" />
</provider>
</application>
</manifest>