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
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.externalstorage">
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<application android:label="@string/app_label">
|
|
<provider
|
|
android:name=".ExternalStorageProvider"
|
|
android:authorities="com.android.externalstorage.documents"
|
|
android:grantUriPermissions="true"
|
|
android:exported="true"
|
|
android:permission="android.permission.MANAGE_DOCUMENTS">
|
|
<meta-data
|
|
android:name="android.content.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>
|