2013-04-26 16:54:55 -07:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.android.documentsui">
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
|
2013-09-30 14:26:27 -07:00
|
|
|
<uses-permission android:name="android.permission.REMOVE_TASKS" />
|
2013-04-26 16:54:55 -07:00
|
|
|
|
2013-08-06 16:26:14 -07:00
|
|
|
<application
|
2013-08-18 17:38:20 -07:00
|
|
|
android:name=".DocumentsApplication"
|
2013-08-06 16:26:14 -07:00
|
|
|
android:label="@string/app_label"
|
|
|
|
android:supportsRtl="true">
|
|
|
|
|
2013-04-26 16:54:55 -07:00
|
|
|
<activity
|
|
|
|
android:name=".DocumentsActivity"
|
2014-07-28 16:38:52 -07:00
|
|
|
android:theme="@style/DocumentsTheme"
|
Create unique files, root ordering, UI bugs.
When a file already exists on disk, try adding a counter suffix to
make a unique name. Move services near top of roots list, just below
recents. Remove "Documents" root.
Increase number of recents allowed from single provider, and add more
logging to diagnose wedged loaders.
When launching GET_CONTENT apps, wait for successful result before
relaying result; canceled requests now return to DocumentsUI.
Add CloseGuard to ContentProviderClients, since leaked instances can
keep the remote process alive.
Fix UI bug around trailing breadcrumbs. Fix bug that dropped Recents
from roots list. Add up action to Settings activity. Give our
activity a default icon while waiting for async roots to load.
Bug: 10818683, 10819461, 10819461, 10819196, 10860199
Change-Id: I7b9e26b1cf8353dd3175458b23da2b4bda6c5831
2013-09-21 13:57:33 -07:00
|
|
|
android:icon="@drawable/ic_doc_text">
|
2014-04-05 19:05:24 -07:00
|
|
|
<intent-filter>
|
2013-04-26 16:54:55 -07:00
|
|
|
<action android:name="android.intent.action.OPEN_DOCUMENT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-08-15 11:24:03 -07:00
|
|
|
<category android:name="android.intent.category.OPENABLE" />
|
2013-07-01 17:22:02 -07:00
|
|
|
<data android:mimeType="*/*" />
|
2013-04-26 16:54:55 -07:00
|
|
|
</intent-filter>
|
2014-04-05 19:05:24 -07:00
|
|
|
<intent-filter>
|
2013-04-26 16:54:55 -07:00
|
|
|
<action android:name="android.intent.action.CREATE_DOCUMENT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-08-15 11:24:03 -07:00
|
|
|
<category android:name="android.intent.category.OPENABLE" />
|
|
|
|
<data android:mimeType="*/*" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter android:priority="100">
|
|
|
|
<action android:name="android.intent.action.GET_CONTENT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.OPENABLE" />
|
2013-07-01 17:22:02 -07:00
|
|
|
<data android:mimeType="*/*" />
|
|
|
|
</intent-filter>
|
2014-04-05 19:05:24 -07:00
|
|
|
<intent-filter>
|
2014-06-04 16:42:47 -07:00
|
|
|
<action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
|
2014-04-05 19:05:24 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2013-08-15 16:17:41 -07:00
|
|
|
<intent-filter>
|
2013-09-05 17:14:14 -07:00
|
|
|
<action android:name="android.provider.action.MANAGE_ROOT" />
|
2013-08-15 16:17:41 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-09-05 17:14:14 -07:00
|
|
|
<data android:mimeType="vnd.android.document/root" />
|
2013-08-15 16:17:41 -07:00
|
|
|
</intent-filter>
|
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
2015-04-11 21:27:21 -07:00
|
|
|
<intent-filter>
|
2015-04-12 21:52:24 -07:00
|
|
|
<action android:name="android.provider.action.BROWSE_DOCUMENT_ROOT" />
|
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
2015-04-11 21:27:21 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="vnd.android.document/root" />
|
|
|
|
</intent-filter>
|
2013-07-01 17:22:02 -07:00
|
|
|
</activity>
|
|
|
|
|
2013-08-02 10:33:21 -07:00
|
|
|
<provider
|
|
|
|
android:name=".RecentsProvider"
|
|
|
|
android:authorities="com.android.documentsui.recents"
|
2015-03-25 14:35:33 -07:00
|
|
|
android:exported="false"/>
|
2013-08-02 10:33:21 -07:00
|
|
|
|
2013-10-24 10:44:03 -07:00
|
|
|
<receiver android:name=".PackageReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
|
|
|
|
<action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
|
|
|
|
<data android:scheme="package" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2015-03-31 10:11:43 -07:00
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".CopyService"
|
|
|
|
android:exported="false">
|
|
|
|
</service>
|
2013-04-26 16:54:55 -07:00
|
|
|
</application>
|
|
|
|
</manifest>
|