Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | package="com.android.documentsui"> |
| 3 | |
Felipe Leme | 560d23a | 2016-02-17 17:10:45 -0800 | [diff] [blame] | 4 | <uses-permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 5 | <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" /> |
Jeff Sharkey | 7aa7601 | 2013-09-30 14:26:27 -0700 | [diff] [blame] | 6 | <uses-permission android:name="android.permission.REMOVE_TASKS" /> |
Jeff Sharkey | 3c12a7c | 2015-10-01 15:14:57 -0700 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Jeff Sharkey | 8731408 | 2016-03-11 17:25:11 -0700 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.CACHE_CONTENT" /> |
| 9 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 10 | |
Jeff Sharkey | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 11 | <application |
Jeff Sharkey | 4eb407a | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 12 | android:name=".DocumentsApplication" |
Jeff Sharkey | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 13 | android:label="@string/app_label" |
| 14 | android:supportsRtl="true"> |
| 15 | |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 16 | <activity |
| 17 | android:name=".DocumentsActivity" |
Jeff Sharkey | f52773f | 2014-07-28 16:38:52 -0700 | [diff] [blame] | 18 | android:theme="@style/DocumentsTheme" |
Jeff Sharkey | 5545f56 | 2013-09-21 13:57:33 -0700 | [diff] [blame] | 19 | android:icon="@drawable/ic_doc_text"> |
Jeff Sharkey | 21de56a | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 20 | <intent-filter> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 21 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 22 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 54ca29a | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 23 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 24 | <data android:mimeType="*/*" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 25 | </intent-filter> |
Jeff Sharkey | 21de56a | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 26 | <intent-filter> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 27 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 28 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 54ca29a | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 29 | <category android:name="android.intent.category.OPENABLE" /> |
| 30 | <data android:mimeType="*/*" /> |
| 31 | </intent-filter> |
| 32 | <intent-filter android:priority="100"> |
| 33 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 34 | <category android:name="android.intent.category.DEFAULT" /> |
| 35 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 36 | <data android:mimeType="*/*" /> |
| 37 | </intent-filter> |
Jeff Sharkey | a5599ef | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 38 | <intent-filter> |
Jeff Sharkey | b9fbb72 | 2014-06-04 16:42:47 -0700 | [diff] [blame] | 39 | <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" /> |
Jeff Sharkey | 21de56a | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 40 | <category android:name="android.intent.category.DEFAULT" /> |
| 41 | </intent-filter> |
Ben Kwa | 0f7078f0 | 2015-09-08 07:31:19 -0700 | [diff] [blame] | 42 | </activity> |
| 43 | |
| 44 | <activity |
Steve McKay | 9f9d5b4 | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 45 | android:name=".LauncherActivity" |
Steve McKay | 53f109b3 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 46 | android:label="@string/downloads_label" |
| 47 | android:icon="@mipmap/ic_launcher_downloads" |
| 48 | android:theme="@android:style/Theme.NoDisplay"> |
Steve McKay | e934ce6 | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 49 | <intent-filter> |
| 50 | <action android:name="android.intent.action.MAIN" /> |
Steve McKay | 080d71b | 2016-03-04 19:52:55 +0000 | [diff] [blame] | 51 | <category android:name="android.intent.category.LAUNCHER" /> |
Steve McKay | e934ce6 | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 52 | </intent-filter> |
Steve McKay | 9f9d5b4 | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 53 | </activity> |
| 54 | |
| 55 | <activity |
| 56 | android:name=".FilesActivity" |
Daichi Hirono | 2917fa9 | 2016-03-18 17:46:57 +0900 | [diff] [blame] | 57 | android:label="@string/downloads_label" |
Steve McKay | 53f109b3 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 58 | android:icon="@mipmap/ic_launcher_downloads" |
| 59 | android:documentLaunchMode="intoExisting" |
| 60 | android:theme="@style/DocumentsTheme"> |
Steve McKay | 9f9d5b4 | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 61 | <intent-filter> |
| 62 | <action android:name="android.intent.action.MAIN" /> |
| 63 | </intent-filter> |
Steve McKay | 83df8c0 | 2015-09-16 15:07:31 -0700 | [diff] [blame] | 64 | <intent-filter> |
Steve McKay | 6c88085 | 2015-11-20 08:44:55 -0800 | [diff] [blame] | 65 | <action android:name="android.provider.action.BROWSE" /> |
Steve McKay | 83df8c0 | 2015-09-16 15:07:31 -0700 | [diff] [blame] | 66 | <category android:name="android.intent.category.DEFAULT" /> |
| 67 | <data android:mimeType="vnd.android.document/root" /> |
| 68 | </intent-filter> |
Tomasz Mikolajewski | a6120da | 2016-01-27 17:36:51 +0900 | [diff] [blame] | 69 | <intent-filter> |
Steve McKay | 53f109b3 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 70 | <action android:name="android.intent.action.VIEW_DOWNLOADS" /> |
| 71 | <category android:name="android.intent.category.DEFAULT" /> |
| 72 | </intent-filter> |
| 73 | <intent-filter> |
Tomasz Mikolajewski | a6120da | 2016-01-27 17:36:51 +0900 | [diff] [blame] | 74 | <action android:name="android.intent.action.VIEW" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | <data android:mimeType="application/zip" |
| 77 | android:host="com.android.providers.downloads.documents" |
| 78 | android:scheme="content" /> |
| 79 | <data android:mimeType="application/x-zip" |
| 80 | android:host="com.android.providers.downloads.documents" |
| 81 | android:scheme="content" /> |
| 82 | <data android:mimeType="application/x-zip-compressed" |
| 83 | android:host="com.android.providers.downloads.documents" |
| 84 | android:scheme="content" /> |
| 85 | </intent-filter> |
Steve McKay | e934ce6 | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 86 | </activity> |
| 87 | |
Felipe Leme | b012f91 | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 88 | <activity |
| 89 | android:name=".OpenExternalDirectoryActivity" |
| 90 | android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
| 91 | <intent-filter> |
Felipe Leme | 34a9d52 | 2016-02-17 10:12:04 -0800 | [diff] [blame] | 92 | <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" /> |
Felipe Leme | b012f91 | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 93 | <category android:name="android.intent.category.DEFAULT" /> |
Felipe Leme | b012f91 | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 94 | </intent-filter> |
| 95 | </activity> |
| 96 | |
Jeff Sharkey | 92d7e69 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 97 | <provider |
| 98 | android:name=".RecentsProvider" |
| 99 | android:authorities="com.android.documentsui.recents" |
Steve McKay | e934ce6 | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 100 | android:exported="false"/> |
Jeff Sharkey | 92d7e69 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 101 | |
Jeff Sharkey | 758f97e | 2013-10-24 10:44:03 -0700 | [diff] [blame] | 102 | <receiver android:name=".PackageReceiver"> |
| 103 | <intent-filter> |
| 104 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 105 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 106 | <data android:scheme="package" /> |
| 107 | </intent-filter> |
| 108 | </receiver> |
Ben Kwa | d99109f | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 109 | |
Jeff Sharkey | e090b79 | 2016-03-18 15:22:25 -0600 | [diff] [blame] | 110 | <receiver android:name=".BootReceiver" android:enabled="false"> |
Jeff Sharkey | 8731408 | 2016-03-11 17:25:11 -0700 | [diff] [blame] | 111 | <intent-filter> |
| 112 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 113 | </intent-filter> |
| 114 | </receiver> |
| 115 | |
Garfield, Tan | f46958b | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 116 | <!-- Run FileOperationService in a separate process so that we can use FileLock class to |
| 117 | wait until jumbo clip is done writing to disk before reading it. See ClipStorage for |
| 118 | details. --> |
Ben Kwa | d99109f | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 119 | <service |
Steve McKay | 14e827a | 2016-01-06 18:32:13 -0800 | [diff] [blame] | 120 | android:name=".services.FileOperationService" |
Garfield, Tan | f46958b | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 121 | android:exported="false" |
| 122 | android:process=":com.android.documentsui.services"> |
Ben Kwa | d99109f | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 123 | </service> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 124 | </application> |
| 125 | </manifest> |