summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-04-11 21:27:21 -0700
committerJeff Sharkey <jsharkey@android.com>2015-04-12 16:03:50 -0700
commit59d577a518333f4b4514315b6d10e8dba160abcd (patch)
tree268c85abce485b339684449ed1c807adaa0c1124 /packages/DocumentsUI/AndroidManifest.xml
parent6036cd51265d31c08eefe0470a9f37e7f757aae8 (diff)
downloadframeworks_base-59d577a518333f4b4514315b6d10e8dba160abcd.zip
frameworks_base-59d577a518333f4b4514315b6d10e8dba160abcd.tar.gz
frameworks_base-59d577a518333f4b4514315b6d10e8dba160abcd.tar.bz2
Browse mode for DocumentsUI, removed volume state.
The existing management mode is too specific, and requires that storage backends add queryChildDocumentsForManage(), etc. Instead, to offer more natural browsing support, add a new BROWSE_ROOT intent. It behaves mostly like MANAGE_ROOT, except that it doesn't mutate its Uris with setManageMode(), and it shortcuts straight to VIEW on clicked documents. It can be launched like this: $ adb shell am start -a android.provider.action.BROWSE_ROOT -d content://com.android.externalstorage.documents/root/8405-1DFB -c android.intent.category.DEFAULT Also rename a MetricsConstants to make it clearer, and don't auto-mount all emulated volumes. Fix bugs around parceling of DiskInfo/VolumeInfo. Method to resolve the best description for a VolumeInfo, which might need to fall back to DiskInfo. Add back "removed" volume state so we send broadcast when a volume is destroyed, matching the expected public API behavior. Bug: 19993667 Change-Id: I13aff32c5e11dfc63da44aee9e93a27f4690a43f
Diffstat (limited to 'packages/DocumentsUI/AndroidManifest.xml')
-rw-r--r--packages/DocumentsUI/AndroidManifest.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/DocumentsUI/AndroidManifest.xml b/packages/DocumentsUI/AndroidManifest.xml
index a6f7a26..5c855ca 100644
--- a/packages/DocumentsUI/AndroidManifest.xml
+++ b/packages/DocumentsUI/AndroidManifest.xml
@@ -40,6 +40,11 @@
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.document/root" />
</intent-filter>
+ <intent-filter>
+ <action android:name="android.provider.action.BROWSE_ROOT" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="vnd.android.document/root" />
+ </intent-filter>
</activity>
<activity