blob: 6d1c822c7f20959d175e9fc5b5c0f29d36a55d90 [file] [log] [blame]
The Android Open Source Project0c908882009-03-03 19:32:16 -08001<!--
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -04002/*
3 * Copyright 2006, The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
The Android Open Source Project0c908882009-03-03 19:32:16 -080017-->
18
19<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser">
20
Jeff Hamilton660d2852010-02-11 16:25:47 -060021 <original-package android:name="com.android.browser" />
22
Michael Kolb14612442011-06-24 13:06:29 -070023 <permission android:name="com.android.browser.permission.PRELOAD"
24 android:label="@string/permission_preload_label"
25 android:protectionLevel="signatureOrSystem" />
26
The Android Open Source Project0c908882009-03-03 19:32:16 -080027 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
28 <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"/>
29 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
30 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
31 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
Jeff Hamiltona9bad832010-09-24 11:05:30 -050032 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
Patrick Scottd05faa62010-12-16 09:15:34 -050033 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
The Android Open Source Project0c908882009-03-03 19:32:16 -080034 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenenb2f93552011-06-14 10:48:35 +020035 <uses-permission android:name="android.permission.NFC" />
Jeff Hamiltona9bad832010-09-24 11:05:30 -050036 <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
Ben Murdoch4f75ba22009-10-27 11:48:28 +000037 <uses-permission android:name="android.permission.SET_WALLPAPER" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080038 <uses-permission android:name="android.permission.WAKE_LOCK"/>
Grace Kloba4d7880f2009-08-12 09:35:42 -070039 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Bjorn Bringertd69f51d2010-09-13 14:06:41 +010040 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
John Reck267b6af2011-01-19 10:15:47 -080041 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Jeff Hamiltona9bad832010-09-24 11:05:30 -050042 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
John Reck77263772011-02-10 13:57:30 -080043 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Ben Murdoch3d6c7192011-10-27 18:04:58 +010044 <uses-permission android:name="android.permission.READ_PROFILE" />
45 <uses-permission android:name="android.permission.READ_CONTACTS" />
Leon Scroggins04b2e8e2009-07-27 11:07:09 -040046 <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
47 <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
Jeff Hamiltona9bad832010-09-24 11:05:30 -050048 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Tao Baie1b6b3b2014-05-13 13:55:52 -070049 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
50 <uses-permission android:name="android.permission.CAMERA"/>
Tao Bai37305d52014-05-22 10:52:22 -070051 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
The Android Open Source Project0c908882009-03-03 19:32:16 -080052
53 <application android:name="Browser"
54 android:label="@string/application_name"
Ying Wang79697cb2010-11-23 11:17:46 -080055 android:icon="@mipmap/ic_launcher_browser"
Christopher Tatede6f1312009-07-07 13:11:41 -070056 android:backupAgent=".BrowserBackupAgent"
John Reckc8a9fea2010-12-01 16:27:04 -080057 android:hardwareAccelerated="true"
The Android Open Source Project0c908882009-03-03 19:32:16 -080058 android:taskAffinity="android.task.browser" >
The Android Open Source Project0c908882009-03-03 19:32:16 -080059
Jeff Hamilton84029622010-08-05 14:29:28 -050060 <provider android:name=".provider.BrowserProvider2"
John Reckdd03faf2010-12-13 11:03:16 -080061 android:authorities="com.android.browser;browser"
John Recka32575d2012-03-01 13:13:44 -080062 android:multiprocess="false"
Nick Kralevich3c2ab032012-07-30 14:23:39 -070063 android:exported="true"
Jeff Hamilton84029622010-08-05 14:29:28 -050064 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
65 android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS">
66 <path-permission android:path="/bookmarks/search_suggest_query"
67 android:readPermission="android.permission.GLOBAL_SEARCH" />
68 </provider>
The Android Open Source Project0c908882009-03-03 19:32:16 -080069 <activity android:name="BrowserActivity"
70 android:label="@string/application_name"
71 android:launchMode="singleTask"
72 android:alwaysRetainTaskState="true"
Michael Kolb18f252f2012-03-06 13:36:20 -080073 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
Derek Sollenbergerfe7f3f52009-12-18 08:59:22 -050074 android:theme="@style/BrowserTheme"
75 android:windowSoftInputMode="adjustResize" >
Leon Scroggins58d56c62010-01-28 15:12:40 -050076 <intent-filter>
77 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
78 <category android:name="android.intent.category.DEFAULT" />
79 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -080080 <!-- For these schemes were not particular MIME type has been
81 supplied, we are a good candidate. -->
82 <intent-filter>
83 <action android:name="android.intent.action.VIEW" />
84 <category android:name="android.intent.category.DEFAULT" />
85 <category android:name="android.intent.category.BROWSABLE" />
86 <data android:scheme="http" />
87 <data android:scheme="https" />
88 <data android:scheme="about" />
Leon Scroggins1ae92f92009-09-15 17:33:20 -040089 <data android:scheme="javascript" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080090 </intent-filter>
91 <!-- For these schemes where any of these particular MIME types
92 have been supplied, we are a good candidate. -->
93 <intent-filter>
94 <action android:name="android.intent.action.VIEW" />
95 <category android:name="android.intent.category.BROWSABLE" />
96 <category android:name="android.intent.category.DEFAULT" />
97 <data android:scheme="http" />
98 <data android:scheme="https" />
Mitsuru Oshima25ad8ab2009-06-10 16:26:07 -070099 <data android:scheme="inline" />
The Android Open Source Project0c908882009-03-03 19:32:16 -0800100 <data android:mimeType="text/html"/>
101 <data android:mimeType="text/plain"/>
102 <data android:mimeType="application/xhtml+xml"/>
103 <data android:mimeType="application/vnd.wap.xhtml+xml"/>
104 </intent-filter>
Elliott Slaughter0ced08c2010-06-30 11:40:42 -0700105 <!-- For viewing saved web archives. -->
106 <intent-filter>
107 <action android:name="android.intent.action.VIEW" />
108 <category android:name="android.intent.category.BROWSABLE" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <data android:scheme="http" />
111 <data android:scheme="https" />
112 <data android:scheme="file" />
113 <data android:mimeType="application/x-webarchive-xml"/>
114 </intent-filter>
Jeff Hamiltonfd77aaa2011-06-17 16:19:33 -0500115 <!-- Accept inbound NFC URLs at a low priority -->
116 <intent-filter android:priority="-101">
117 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
118 <category android:name="android.intent.category.DEFAULT" />
119 <data android:scheme="http" />
120 <data android:scheme="https" />
121 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800122 <!-- We are also the main entry point of the browser. -->
123 <intent-filter>
124 <action android:name="android.intent.action.MAIN" />
125 <category android:name="android.intent.category.DEFAULT" />
126 <category android:name="android.intent.category.LAUNCHER" />
127 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brown6af55fa2011-11-28 16:32:57 -0800128 <category android:name="android.intent.category.APP_BROWSER" />
The Android Open Source Project0c908882009-03-03 19:32:16 -0800129 </intent-filter>
130 <!-- The maps app is a much better experience, so it's not
131 worth having this at all... especially for a demo!
132 <intent-filter android:label="Map In Browser">
133 <action android:name="android.intent.action.VIEW" />
134 <category android:name="android.intent.category.DEFAULT" />
135 <data android:mimeType="vnd.android.cursor.item/postal-address" />
136 </intent-filter>
137 -->
138 <intent-filter>
139 <action android:name="android.intent.action.WEB_SEARCH" />
140 <category android:name="android.intent.category.DEFAULT" />
141 <category android:name="android.intent.category.BROWSABLE" />
142 <data android:scheme="" />
143 <data android:scheme="http" />
144 <data android:scheme="https" />
145 </intent-filter>
146 <intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800147 <action android:name="android.intent.action.MEDIA_SEARCH" />
148 <category android:name="android.intent.category.DEFAULT" />
149 </intent-filter>
150 <intent-filter>
151 <action android:name="android.intent.action.SEARCH" />
152 <category android:name="android.intent.category.DEFAULT" />
153 </intent-filter>
154 <meta-data android:name="android.app.searchable"
155 android:resource="@xml/searchable" />
The Android Open Source Project0c908882009-03-03 19:32:16 -0800156 </activity>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800157
Michael Kolb801ecb72010-08-25 12:57:38 -0700158 <activity android:name="ShortcutActivity"
159 android:theme="@style/ShortcutTheme"
Romain Guydb6c3912009-03-24 18:08:40 -0700160 android:label="@string/shortcut_bookmark"
Ying Wang79697cb2010-11-23 11:17:46 -0800161 android:icon="@mipmap/ic_launcher_shortcut_browser_bookmark">
The Android Open Source Project0c908882009-03-03 19:32:16 -0800162
163 <intent-filter>
164 <action android:name="android.intent.action.CREATE_SHORTCUT" />
165 <category android:name="android.intent.category.DEFAULT" />
166 </intent-filter>
167
Michael Kolb801ecb72010-08-25 12:57:38 -0700168 </activity>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800169
Ben Murdochde94e402010-11-30 15:45:52 +0000170 <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences">
John Reck7b182d72011-07-08 10:30:53 -0700171 <intent-filter>
172 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
173 <category android:name="android.intent.category.DEFAULT" />
174 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800175 </activity>
176
Bjorn Bringerte90ede42009-04-29 22:33:52 +0100177 <activity android:name="BookmarkSearch"
178 android:label="@string/bookmarks_search"
179 android:stateNotNeeded="true"
180 android:theme="@android:style/Theme.NoDisplay"
181 android:excludeFromRecents="true">
182 <intent-filter>
183 <action android:name="android.intent.action.SEARCH" />
184 <category android:name="android.intent.category.DEFAULT" />
185 </intent-filter>
186 <meta-data android:name="android.app.searchable"
187 android:resource="@xml/bookmarks_searchable" />
188 </activity>
189
Michal Szynkarukefad1c32012-10-29 15:01:35 +0100190 <activity android:name="AddBookmarkPage" android:label="@string/bookmarks_add_page"
John Reck9d27ff52011-02-11 17:47:54 -0800191 android:theme="@style/DialogWhenLarge"
John Reckaf58d392012-05-22 17:47:06 -0700192 android:configChanges="orientation|keyboardHidden|screenSize"
193 android:windowSoftInputMode="adjustResize">
The Android Open Source Project0c908882009-03-03 19:32:16 -0800194 <intent-filter>
195 <action android:name="android.intent.action.INSERT" />
196 <category android:name="android.intent.category.DEFAULT" />
197 <data android:mimeType="vnd.android.cursor.dir/bookmark"/>
198 </intent-filter>
199 </activity>
200
John Reck2d963a22011-08-10 15:53:07 -0700201 <activity android:name="ComboViewActivity">
John Reckd3e4d5b2011-07-13 15:48:43 -0700202 </activity>
203
John Reck1537b772011-01-11 15:36:01 -0800204 <!-- Bookmark thumbnail homescreen widget -->
Michael Kolb0382be22010-08-15 15:48:37 -0700205 <receiver
John Reck1537b772011-01-11 15:36:01 -0800206 android:name=".widget.BookmarkThumbnailWidgetProvider"
Michael Kolb0382be22010-08-15 15:48:37 -0700207 android:label="@string/bookmarks">
208 <intent-filter>
209 <action
210 android:name="android.appwidget.action.APPWIDGET_UPDATE" />
John Reckdf63d2f2010-10-29 11:42:55 -0700211 <action
212 android:name="com.android.browser.BOOKMARK_APPWIDGET_UPDATE" />
Michael Kolb0382be22010-08-15 15:48:37 -0700213 </intent-filter>
214 <meta-data
215 android:name="android.appwidget.provider"
John Reck1537b772011-01-11 15:36:01 -0800216 android:resource="@xml/bookmarkthumbnailwidget_info" />
Michael Kolb0382be22010-08-15 15:48:37 -0700217 </receiver>
218 <service
John Reck1537b772011-01-11 15:36:01 -0800219 android:name=".widget.BookmarkThumbnailWidgetService"
Winson Chung899cdf42011-01-18 15:24:44 -0800220 android:permission="android.permission.BIND_REMOTEVIEWS"
221 android:exported="false" />
John Reck99c6d332011-02-01 12:57:06 -0800222 <receiver
223 android:name=".widget.BookmarkWidgetProxy"
224 android:exported="false" />
John Reck9b8cd1e2011-05-25 18:14:01 -0700225 <activity android:name=".widget.BookmarkWidgetConfigure"
226 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
227 <intent-filter>
228 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
229 </intent-filter>
230 </activity>
Michael Kolb0382be22010-08-15 15:48:37 -0700231
The Android Open Source Project0c908882009-03-03 19:32:16 -0800232 <!-- Makes .BrowserActivity the search target for any activity in Browser -->
233 <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />
234
Jeff Davidson43610292010-07-16 16:03:58 -0700235 <!-- Application code for RLZ tracking. RLZ assigns non-unique, non-personally identifiable
236 tracking labels to client products; these labels sometimes appear in Google search
237 queries. See http://code.google.com/p/rlz for more info.
238
239 This value signifies to the RLZ client that this application uses RLZ tracking. -->
240 <meta-data android:name="com.google.android.partnersetup.RLZ_ACCESS_POINT"
241 android:value="@string/rlz_access_point" />
242
Leon Scrogginsfedc4932010-01-26 14:15:01 -0500243 <receiver android:name=".OpenDownloadReceiver">
244 <intent-filter>
245 <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/>
Leon Scrogginsfedc4932010-01-26 14:15:01 -0500246 </intent-filter>
247 </receiver>
John Reckbafe58a2011-01-11 10:26:02 -0800248
249 <!-- For custom home pages (like most visited) -->
250 <provider
251 android:name=".homepages.HomeProvider"
252 android:authorities="com.android.browser.home"
253 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
254 android:exported="false" />
John Reck267b6af2011-01-19 10:15:47 -0800255
John Reck5a775372011-06-17 14:27:24 -0700256 <receiver android:name=".AccountsChangedReceiver">
257 <intent-filter>
258 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
259 </intent-filter>
260 </receiver>
261
Michael Kolb14612442011-06-24 13:06:29 -0700262 <receiver android:name=".PreloadRequestReceiver"
263 android:permission="com.android.browser.permission.PRELOAD" >
264 <intent-filter>
265 <action android:name="android.intent.action.PRELOAD"/>
266 <data android:scheme="http" />
267 </intent-filter>
268 </receiver>
269
John Reck8cc92352011-07-06 17:41:52 -0700270 <provider android:name=".provider.SnapshotProvider"
271 android:authorities="com.android.browser.snapshots"
272 android:exported="false" />
273
Tao Bai126b5b32014-09-03 14:00:38 -0700274 <provider android:name="android.support.v4.content.FileProvider"
275 android:authorities="com.android.browser-classic.file"
276 android:exported="false"
277 android:grantUriPermissions="true">
278 <meta-data
279 android:name="android.support.FILE_PROVIDER_PATHS"
280 android:resource="@xml/file_paths" />
281 </provider>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800282 </application>
283
The Android Open Source Project0c908882009-03-03 19:32:16 -0800284</manifest>
285