blob: 4bd727c0c0455bf105770f8f395621ff32cc9b26 [file] [log] [blame]
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.documentsui">
3
Felipe Leme8cf6ce22016-02-17 17:10:45 -08004 <uses-permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07005 <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
Jeff Sharkey3fd11772013-09-30 14:26:27 -07006 <uses-permission android:name="android.permission.REMOVE_TASKS" />
Jeff Sharkey22056802015-10-01 15:14:57 -07007 <uses-permission android:name="android.permission.WAKE_LOCK" />
Jeff Sharkey50254fe2016-03-11 17:25:11 -07008 <uses-permission android:name="android.permission.CACHE_CONTENT" />
9 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070010
Jeff Sharkey2e694f82013-08-06 16:26:14 -070011 <application
Jeff Sharkey873daa32013-08-18 17:38:20 -070012 android:name=".DocumentsApplication"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070013 android:label="@string/app_label"
Steve McKayd5b9b0f2016-08-01 13:00:05 -070014 android:icon="@drawable/app_icon"
Chen Su7b6831b2016-12-22 16:21:32 +000015 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 Sharkey2e694f82013-08-06 16:26:14 -070023
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070024 <activity
Steve McKay16e0c1f2016-09-15 12:41:13 -070025 android:name=".picker.PickActivity"
Steve McKaycf2cc2b2017-03-08 12:35:22 -080026 android:theme="@style/DocumentsTheme">
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070027 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070028 <action android:name="android.intent.action.OPEN_DOCUMENT" />
29 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070030 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070031 <data android:mimeType="*/*" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070032 </intent-filter>
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070033 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070034 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070035 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070036 <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 Sharkey3c28b792013-07-01 17:22:02 -070043 <data android:mimeType="*/*" />
44 </intent-filter>
Jeff Sharkeyf339f252013-08-15 16:17:41 -070045 <intent-filter>
Jeff Sharkeyf4943e12014-06-04 16:42:47 -070046 <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070047 <category android:name="android.intent.category.DEFAULT" />
48 </intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070049 </activity>
50
51 <activity
Steve McKayb6006b22016-09-29 09:23:45 -070052 android:name=".files.LauncherActivity"
Steve McKaycf2cc2b2017-03-08 12:35:22 -080053 android:label="@string/launcher_label"
54 android:icon="@drawable/launcher_icon"
Steve McKay17f7e582016-04-04 15:26:48 -070055 android:theme="@android:style/Theme.NoDisplay">
Steve McKay16e0c1f2016-09-15 12:41:13 -070056 </activity>
57
58 <!-- Preserve original launcher activity from Nougat. -->
59 <activity-alias
60 android:name=".Launcher"
Steve McKayb6006b22016-09-29 09:23:45 -070061 android:targetActivity=".files.LauncherActivity"
Steve McKaycf2cc2b2017-03-08 12:35:22 -080062 android:label="@string/launcher_label"
63 android:icon="@drawable/launcher_icon" >
Steve McKayd0a2a2c2015-03-25 14:35:33 -070064 <intent-filter>
65 <action android:name="android.intent.action.MAIN" />
66 <category android:name="android.intent.category.LAUNCHER" />
67 </intent-filter>
Garfield Tan2e3cf1d2016-10-21 15:25:26 -070068 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
Steve McKay16e0c1f2016-09-15 12:41:13 -070069 </activity-alias>
Steve McKayf2c8b0d2015-09-23 15:44:24 -070070
71 <activity
Steve McKayb6006b22016-09-29 09:23:45 -070072 android:name=".files.FilesActivity"
Steve McKay17f7e582016-04-04 15:26:48 -070073 android:documentLaunchMode="intoExisting"
74 android:theme="@style/DocumentsTheme">
Steve McKayf2c8b0d2015-09-23 15:44:24 -070075 <intent-filter>
76 <action android:name="android.intent.action.MAIN" />
77 </intent-filter>
Steve McKay459bc2b2015-09-16 15:07:31 -070078 <intent-filter>
Steve McKay8d45f5a2015-11-20 08:44:55 -080079 <action android:name="android.provider.action.BROWSE" />
Steve McKay459bc2b2015-09-16 15:07:31 -070080 <category android:name="android.intent.category.DEFAULT" />
81 <data android:mimeType="vnd.android.document/root" />
82 </intent-filter>
Tomasz Mikolajewski5a1e8792016-01-27 17:36:51 +090083 <intent-filter>
Garfield Tanc5efea02017-02-22 12:58:29 -080084 <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 Tanf8969d62017-02-02 16:55:55 -080090 <category android:name="android.intent.category.DEFAULT" />
91 <data android:mimeType="vnd.android.document/directory" />
92 </intent-filter>
93 <intent-filter>
Steve McKay17f7e582016-04-04 15:26:48 -070094 <action android:name="android.intent.action.VIEW_DOWNLOADS" />
95 <category android:name="android.intent.category.DEFAULT" />
96 </intent-filter>
Steve McKayd0a2a2c2015-03-25 14:35:33 -070097 </activity>
98
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080099 <activity
100 android:name=".OpenExternalDirectoryActivity"
101 android:theme="@android:style/Theme.Translucent.NoTitleBar">
102 <intent-filter>
Felipe Leme5228bd02016-02-17 10:12:04 -0800103 <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -0800104 <category android:name="android.intent.category.DEFAULT" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -0800105 </intent-filter>
106 </activity>
107
Jeff Sharkey50d35622013-08-02 10:33:21 -0700108 <provider
Steve McKayd0805062016-09-15 14:30:38 -0700109 android:name=".picker.LastAccessedProvider"
Ben Lin7232bf02016-08-26 14:33:03 -0700110 android:authorities="com.android.documentsui.lastAccessed"
Steve McKayd0a2a2c2015-03-25 14:35:33 -0700111 android:exported="false"/>
Jeff Sharkey50d35622013-08-02 10:33:21 -0700112
Tomasz Mikolajewskidbd6b8b2016-09-29 15:27:37 +0900113 <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 Mikolajewskibf6cfdc2017-02-13 13:14:30 +0900118 android:exported="true">
119 <intent-filter>
120 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
121 </intent-filter>
122 </provider>
Tomasz Mikolajewskidbd6b8b2016-09-29 15:27:37 +0900123
Jeff Sharkey2bfdedb2013-10-24 10:44:03 -0700124 <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 Kwa41b26c12015-03-31 10:11:43 -0700131
Steve McKayd9caa6a2016-09-15 16:36:45 -0700132 <receiver android:name=".roots.BootReceiver" android:enabled="false">
Jeff Sharkey50254fe2016-03-11 17:25:11 -0700133 <intent-filter>
134 <action android:name="android.intent.action.BOOT_COMPLETED" />
135 </intent-filter>
136 </receiver>
137
Garfield, Tanedce5542016-06-17 15:32:28 -0700138 <!-- 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 Kwa41b26c12015-03-31 10:11:43 -0700141 <service
Steve McKayc83baa02016-01-06 18:32:13 -0800142 android:name=".services.FileOperationService"
Garfield, Tanedce5542016-06-17 15:32:28 -0700143 android:exported="false"
144 android:process=":com.android.documentsui.services">
Ben Kwa41b26c12015-03-31 10:11:43 -0700145 </service>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -0700146 </application>
147</manifest>