Jeff Sharkey | e22d02e | 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 | 8cf6ce2 | 2016-02-17 17:10:45 -0800 | [diff] [blame] | 4 | <uses-permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 5 | <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" /> |
Jeff Sharkey | 3fd1177 | 2013-09-30 14:26:27 -0700 | [diff] [blame] | 6 | <uses-permission android:name="android.permission.REMOVE_TASKS" /> |
Jeff Sharkey | 2205680 | 2015-10-01 15:14:57 -0700 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Jeff Sharkey | 50254fe | 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 | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 10 | |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 11 | <application |
Jeff Sharkey | 873daa3 | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 12 | android:name=".DocumentsApplication" |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 13 | android:label="@string/app_label" |
Steve McKay | d5b9b0f | 2016-08-01 13:00:05 -0700 | [diff] [blame] | 14 | android:icon="@drawable/app_icon" |
Chen Su | 7b6831b | 2016-12-22 16:21:32 +0000 | [diff] [blame] | 15 | android:supportsRtl="true" |
| 16 | android:allowBackup="true" |
| 17 | android:backupAgent=".prefs.BackupAgent" |
| 18 | android:fullBackupOnly="false"> |
| 19 | |
| 20 | <meta-data |
| 21 | android:name="com.google.android.backup.api_key" |
| 22 | android:value="AEdPqrEAAAAInBA8ued0O_ZyYUsVhwinUF-x50NIe9K0GzBW4A" /> |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 23 | |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 24 | <activity |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 25 | android:name=".picker.PickActivity" |
Steve McKay | cf2cc2b | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 26 | android:theme="@style/DocumentsTheme"> |
Jeff Sharkey | 6e565ff | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 27 | <intent-filter> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 28 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 29 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 30 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 31 | <data android:mimeType="*/*" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 32 | </intent-filter> |
Jeff Sharkey | 6e565ff | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 33 | <intent-filter> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 34 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 35 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 36 | <category android:name="android.intent.category.OPENABLE" /> |
| 37 | <data android:mimeType="*/*" /> |
| 38 | </intent-filter> |
| 39 | <intent-filter android:priority="100"> |
| 40 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 41 | <category android:name="android.intent.category.DEFAULT" /> |
| 42 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 43 | <data android:mimeType="*/*" /> |
| 44 | </intent-filter> |
Jeff Sharkey | f339f25 | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 45 | <intent-filter> |
Jeff Sharkey | f4943e1 | 2014-06-04 16:42:47 -0700 | [diff] [blame] | 46 | <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" /> |
Jeff Sharkey | 6e565ff | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 47 | <category android:name="android.intent.category.DEFAULT" /> |
| 48 | </intent-filter> |
Ben Kwa | 0574b18 | 2015-09-08 07:31:19 -0700 | [diff] [blame] | 49 | </activity> |
| 50 | |
| 51 | <activity |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 52 | android:name=".files.LauncherActivity" |
Steve McKay | cf2cc2b | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 53 | android:label="@string/launcher_label" |
| 54 | android:icon="@drawable/launcher_icon" |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 55 | android:theme="@android:style/Theme.NoDisplay"> |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 56 | </activity> |
| 57 | |
| 58 | <!-- Preserve original launcher activity from Nougat. --> |
| 59 | <activity-alias |
| 60 | android:name=".Launcher" |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 61 | android:targetActivity=".files.LauncherActivity" |
Steve McKay | cf2cc2b | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 62 | android:label="@string/launcher_label" |
| 63 | android:icon="@drawable/launcher_icon" > |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 64 | <intent-filter> |
| 65 | <action android:name="android.intent.action.MAIN" /> |
| 66 | <category android:name="android.intent.category.LAUNCHER" /> |
| 67 | </intent-filter> |
Garfield Tan | 2e3cf1d | 2016-10-21 15:25:26 -0700 | [diff] [blame] | 68 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" /> |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 69 | </activity-alias> |
Steve McKay | f2c8b0d | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 70 | |
| 71 | <activity |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 72 | android:name=".files.FilesActivity" |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 73 | android:documentLaunchMode="intoExisting" |
| 74 | android:theme="@style/DocumentsTheme"> |
Steve McKay | f2c8b0d | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 75 | <intent-filter> |
| 76 | <action android:name="android.intent.action.MAIN" /> |
| 77 | </intent-filter> |
Steve McKay | 459bc2b | 2015-09-16 15:07:31 -0700 | [diff] [blame] | 78 | <intent-filter> |
Steve McKay | 8d45f5a | 2015-11-20 08:44:55 -0800 | [diff] [blame] | 79 | <action android:name="android.provider.action.BROWSE" /> |
Steve McKay | 459bc2b | 2015-09-16 15:07:31 -0700 | [diff] [blame] | 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | <data android:mimeType="vnd.android.document/root" /> |
| 82 | </intent-filter> |
Tomasz Mikolajewski | 5a1e879 | 2016-01-27 17:36:51 +0900 | [diff] [blame] | 83 | <intent-filter> |
Garfield Tan | c5efea0 | 2017-02-22 12:58:29 -0800 | [diff] [blame] | 84 | <action android:name="android.intent.action.VIEW" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | <data android:mimeType="vnd.android.document/root" /> |
| 87 | </intent-filter> |
| 88 | <intent-filter> |
| 89 | <action android:name="android.intent.action.VIEW" /> |
Garfield Tan | f8969d6 | 2017-02-02 16:55:55 -0800 | [diff] [blame] | 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | <data android:mimeType="vnd.android.document/directory" /> |
| 92 | </intent-filter> |
| 93 | <intent-filter> |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 94 | <action android:name="android.intent.action.VIEW_DOWNLOADS" /> |
| 95 | <category android:name="android.intent.category.DEFAULT" /> |
| 96 | </intent-filter> |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 97 | </activity> |
| 98 | |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 99 | <activity |
| 100 | android:name=".OpenExternalDirectoryActivity" |
| 101 | android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
| 102 | <intent-filter> |
Felipe Leme | 5228bd0 | 2016-02-17 10:12:04 -0800 | [diff] [blame] | 103 | <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" /> |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 104 | <category android:name="android.intent.category.DEFAULT" /> |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 105 | </intent-filter> |
| 106 | </activity> |
| 107 | |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 108 | <provider |
Steve McKay | d080506 | 2016-09-15 14:30:38 -0700 | [diff] [blame] | 109 | android:name=".picker.LastAccessedProvider" |
Ben Lin | 7232bf0 | 2016-08-26 14:33:03 -0700 | [diff] [blame] | 110 | android:authorities="com.android.documentsui.lastAccessed" |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 111 | android:exported="false"/> |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 112 | |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 113 | <provider |
| 114 | android:name=".archives.ArchivesProvider" |
| 115 | android:authorities="com.android.documentsui.archives" |
| 116 | android:grantUriPermissions="true" |
| 117 | android:permission="android.permission.MANAGE_DOCUMENTS" |
Tomasz Mikolajewski | bf6cfdc | 2017-02-13 13:14:30 +0900 | [diff] [blame] | 118 | android:exported="true"> |
| 119 | <intent-filter> |
| 120 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 121 | </intent-filter> |
| 122 | </provider> |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 123 | |
Jeff Sharkey | 2bfdedb | 2013-10-24 10:44:03 -0700 | [diff] [blame] | 124 | <receiver android:name=".PackageReceiver"> |
| 125 | <intent-filter> |
| 126 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 127 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 128 | <data android:scheme="package" /> |
| 129 | </intent-filter> |
| 130 | </receiver> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 131 | |
Steve McKay | d9caa6a | 2016-09-15 16:36:45 -0700 | [diff] [blame] | 132 | <receiver android:name=".roots.BootReceiver" android:enabled="false"> |
Jeff Sharkey | 50254fe | 2016-03-11 17:25:11 -0700 | [diff] [blame] | 133 | <intent-filter> |
| 134 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 135 | </intent-filter> |
| 136 | </receiver> |
| 137 | |
Garfield, Tan | edce554 | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 138 | <!-- Run FileOperationService in a separate process so that we can use FileLock class to |
| 139 | wait until jumbo clip is done writing to disk before reading it. See ClipStorage for |
| 140 | details. --> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 141 | <service |
Steve McKay | c83baa0 | 2016-01-06 18:32:13 -0800 | [diff] [blame] | 142 | android:name=".services.FileOperationService" |
Garfield, Tan | edce554 | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 143 | android:exported="false" |
| 144 | android:process=":com.android.documentsui.services"> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 145 | </service> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 146 | </application> |
| 147 | </manifest> |