blob: 0293063cc220b1fed95e6805d0fcebddf608e8b1 [file] [log] [blame]
Tarun Nainanief749cb2014-05-19 18:16:53 -07001<!--
2/*
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 */
17-->
18
19<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser">
20
21 <original-package android:name="com.android.browser" />
22
23 <permission android:name="com.android.browser.permission.PRELOAD"
24 android:label="@string/permission_preload_label"
25 android:protectionLevel="signatureOrSystem" />
26 <permission android:name="com.android.browser.permission.INITIALIZE_DATABASE"
27 android:protectionLevel="signatureOrSystem" />
28 <permission android:name="org.chromium.content_shell.permission.SANDBOX"
29 android:protectionLevel="signatureOrSystem" />
30
31 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
32 <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"/>
33 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
34 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
35 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
36 <uses-permission android:name="android.permission.INTERNET" />
37 <uses-permission android:name="android.permission.NFC" />
38 <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
39 <uses-permission android:name="android.permission.SET_WALLPAPER" />
40 <uses-permission android:name="android.permission.WAKE_LOCK"/>
41 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
42 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
43 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
44 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
45 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
46 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
47 <uses-permission android:name="android.permission.READ_PROFILE" />
48 <uses-permission android:name="android.permission.READ_CONTACTS" />
49 <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
50 <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
51 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
52 <uses-permission android:name="com.android.browser.permission.READ_HOMEPAGE" />
53 <uses-permission android:name="com.android.browser.permission.WRITE_HOMEPAGE" />
54 <uses-permission android:name="com.android.browser.permission.INITIALIZE_DATABASE"/>
55 <uses-permission android:name="android.permission.VIBRATE"/>
56 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
57 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
Tarun Nainani8eb00912014-07-17 12:28:32 -070058 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Tarun Nainanief749cb2014-05-19 18:16:53 -070059
60 <application android:name="Browser"
61 android:label="@string/application_name"
62 android:icon="@mipmap/ic_launcher_browser"
63 android:backupAgent=".BrowserBackupAgent"
64 android:hardwareAccelerated="true"
65 android:taskAffinity="android.task.browser" >
66
67 <uses-library android:name="com.qrd.useragent"
68 android:required="false" />
69
70 <provider android:name=".provider.BrowserProvider2"
71 android:authorities="com.android.browser;browser"
72 android:multiprocess="false"
73 android:exported="true"
74 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
75 android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS">
76 <path-permission android:path="/bookmarks/search_suggest_query"
77 android:readPermission="android.permission.GLOBAL_SEARCH" />
78 <path-permission android:path="/homepage"
79 android:readPermission="com.android.browser.permission.READ_HOMEPAGE"
80 android:writePermission="com.android.browser.permission.WRITE_HOMEPAGE" />
81 </provider>
82 <activity android:name="BrowserActivity"
83 android:label="@string/application_name"
84 android:launchMode="singleTask"
85 android:alwaysRetainTaskState="true"
86 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
87 android:theme="@style/BrowserTheme"
88 android:windowSoftInputMode="adjustResize" >
89 <intent-filter>
90 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
91 <category android:name="android.intent.category.DEFAULT" />
92 </intent-filter>
93 <!-- For these schemes were not particular MIME type has been
94 supplied, we are a good candidate. -->
95 <intent-filter>
96 <action android:name="android.intent.action.VIEW" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.BROWSABLE" />
99 <data android:scheme="http" />
100 <data android:scheme="https" />
101 <data android:scheme="about" />
102 <data android:scheme="javascript" />
103 </intent-filter>
104 <!-- For these schemes where any of these particular MIME types
105 have been supplied, we are a good candidate. -->
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="inline" />
113 <data android:mimeType="text/html"/>
114 <data android:mimeType="text/plain"/>
115 <data android:mimeType="application/xhtml+xml"/>
116 <data android:mimeType="application/vnd.wap.xhtml+xml"/>
117 </intent-filter>
118 <!-- For viewing saved web archives. -->
119 <intent-filter>
120 <action android:name="android.intent.action.VIEW" />
121 <category android:name="android.intent.category.BROWSABLE" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <data android:scheme="http" />
124 <data android:scheme="https" />
125 <data android:scheme="file" />
126 <data android:mimeType="application/x-webarchive-xml"/>
127 </intent-filter>
128 <!-- Accept inbound NFC URLs at a low priority -->
129 <intent-filter android:priority="-101">
130 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
131 <category android:name="android.intent.category.DEFAULT" />
132 <data android:scheme="http" />
133 <data android:scheme="https" />
134 </intent-filter>
135 <!-- We are also the main entry point of the browser. -->
136 <intent-filter>
137 <action android:name="android.intent.action.MAIN" />
138 <category android:name="android.intent.category.DEFAULT" />
139 <category android:name="android.intent.category.LAUNCHER" />
140 <category android:name="android.intent.category.BROWSABLE" />
141 <category android:name="android.intent.category.APP_BROWSER" />
142 </intent-filter>
143 <!-- The maps app is a much better experience, so it's not
144 worth having this at all... especially for a demo!
145 <intent-filter android:label="Map In Browser">
146 <action android:name="android.intent.action.VIEW" />
147 <category android:name="android.intent.category.DEFAULT" />
148 <data android:mimeType="vnd.android.cursor.item/postal-address" />
149 </intent-filter>
150 -->
151 <intent-filter>
152 <action android:name="android.intent.action.WEB_SEARCH" />
153 <category android:name="android.intent.category.DEFAULT" />
154 <category android:name="android.intent.category.BROWSABLE" />
155 <data android:scheme="" />
156 <data android:scheme="http" />
157 <data android:scheme="https" />
158 </intent-filter>
159 <intent-filter>
160 <action android:name="android.intent.action.MEDIA_SEARCH" />
161 <category android:name="android.intent.category.DEFAULT" />
162 </intent-filter>
163 <intent-filter>
164 <action android:name="android.intent.action.SEARCH" />
165 <category android:name="android.intent.category.DEFAULT" />
166 </intent-filter>
167 <meta-data android:name="android.app.searchable"
168 android:resource="@xml/searchable" />
169 </activity>
170
171 <activity android:name="ShortcutActivity"
172 android:theme="@style/ShortcutTheme"
173 android:label="@string/shortcut_bookmark"
174 android:icon="@mipmap/ic_launcher_shortcut_browser_bookmark">
175 <intent-filter>
176 <action android:name="android.intent.action.CREATE_SHORTCUT" />
177 <category android:name="android.intent.category.DEFAULT" />
178 </intent-filter>
179 </activity>
180
181 <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences">
182 <intent-filter>
183 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
184 <category android:name="android.intent.category.DEFAULT" />
185 </intent-filter>
186 </activity>
187
188 <activity android:name="BookmarkSearch"
189 android:label="@string/bookmarks_search"
190 android:stateNotNeeded="true"
191 android:theme="@android:style/Theme.NoDisplay"
192 android:excludeFromRecents="true">
193 <intent-filter>
194 <action android:name="android.intent.action.SEARCH" />
195 <category android:name="android.intent.category.DEFAULT" />
196 </intent-filter>
197 <meta-data android:name="android.app.searchable"
198 android:resource="@xml/bookmarks_searchable" />
199 </activity>
200
201 <activity android:name="AddBookmarkPage" android:label="@string/bookmarks_add_page"
202 android:theme="@style/DialogWhenLarge"
203 android:configChanges="orientation|keyboardHidden|screenSize"
204 android:windowSoftInputMode="adjustResize">
205 <intent-filter>
206 <action android:name="android.intent.action.INSERT" />
207 <category android:name="android.intent.category.DEFAULT" />
208 <data android:mimeType="vnd.android.cursor.dir/bookmark"/>
209 </intent-filter>
210 </activity>
211
212 <activity android:name="DownloadSettings" android:label="@string/download_settings_title"
213 android:theme="@style/DialogWhenLarge"
214 android:launchMode="singleTask"
215 android:configChanges="orientation|keyboardHidden|screenSize"
216 android:windowSoftInputMode="adjustResize">
217 <intent-filter>
218 <action android:name="android.intent.action.BROWSERDOWNLOAD" />
219 <category android:name="android.intent.category.DEFAULT" />
220 </intent-filter>
221 </activity>
222
223 <!-- For creating new folder in bookmarks page -->
224 <activity android:name="AddBookmarkFolder" android:label="@string/save_bookmark_folder"
225 android:theme="@style/DialogWhenLarge"
226 android:configChanges="orientation|keyboardHidden|screenSize">
227 <intent-filter>
228 <category android:name="android.intent.category.DEFAULT" />
229 <data android:mimeType="vnd.android.cursor.dir/bookmark"/>
230 </intent-filter>
231 </activity>
232
233 <activity android:name="ComboViewActivity">
234 </activity>
235
236 <!-- Bookmark thumbnail homescreen widget -->
237 <receiver
238 android:name=".widget.BookmarkThumbnailWidgetProvider"
239 android:label="@string/bookmarks">
240 <intent-filter>
241 <action
242 android:name="android.appwidget.action.APPWIDGET_UPDATE" />
243 <action
244 android:name="com.android.browser.BOOKMARK_APPWIDGET_UPDATE" />
245 </intent-filter>
246 <meta-data
247 android:name="android.appwidget.provider"
248 android:resource="@xml/bookmarkthumbnailwidget_info" />
249 </receiver>
250 <service
251 android:name=".widget.BookmarkThumbnailWidgetService"
252 android:permission="android.permission.BIND_REMOTEVIEWS"
253 android:exported="false" />
254 <receiver
255 android:name=".widget.BookmarkWidgetProxy"
256 android:exported="false" />
257 <activity android:name=".widget.BookmarkWidgetConfigure"
258 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
259 <intent-filter>
260 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
261 </intent-filter>
262 </activity>
263 <!-- add or edit my navigation activity -->
264 <activity android:name=".mynavigation.AddMyNavigationPage"
265 android:label="@string/my_navigation_page_title"
266 android:configChanges="orientation|keyboardHidden"
267 android:windowSoftInputMode="stateHidden">
268 </activity>
269
270 <!-- Makes .BrowserActivity the search target for any activity in Browser -->
271 <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />
272
273 <receiver android:name=".OpenDownloadReceiver">
274 <intent-filter>
275 <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/>
276 </intent-filter>
277 </receiver>
278
279 <!-- For custom home pages (like most visited) -->
280 <provider
281 android:name=".homepages.HomeProvider"
282 android:authorities="com.android.browser.home"
283 android:grantUriPermissions="true"
284 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
285 android:exported="false" />
286
287 <receiver android:name=".AccountsChangedReceiver">
288 <intent-filter>
289 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
290 </intent-filter>
291 </receiver>
292
293 <receiver android:name=".MessagesReceiver">
294 <intent-filter>
295 <action android:name="com.android.mms.transaction.MESSAGE_RECEIVED" />
296 </intent-filter>
297 </receiver>
298
299 <receiver android:name=".PreloadRequestReceiver"
300 android:permission="com.android.browser.permission.PRELOAD" >
301 <intent-filter>
302 <action android:name="android.intent.action.PRELOAD"/>
303 <data android:scheme="http" />
304 </intent-filter>
305 </receiver>
306
307 <provider android:name=".provider.SnapshotProvider"
308 android:authorities="com.android.browser.snapshots"
309 android:exported="false" />
310 <provider
311 android:name=".provider.MyNavigationProvider"
312 android:authorities="com.android.browser.mynavigation"
Axesh R. Ajmera2e241242014-05-19 15:53:38 -0700313 android:exported="false"
314 android:grantUriPermissions="true"/>
Tarun Nainanief749cb2014-05-19 18:16:53 -0700315
316 <service android:name="org.chromium.content.app.SandboxedProcessService0"
317 android:process=":sandboxed_process0"
318 android:permission="org.chromium.content_shell.permission.SANDBOX"
319 android:isolatedProcess="true"
320 android:exported="false" />
321 <service android:name="org.chromium.content.app.SandboxedProcessService1"
322 android:process=":sandboxed_process1"
323 android:permission="org.chromium.content_shell.permission.SANDBOX"
324 android:isolatedProcess="true"
325 android:exported="false" />
326 <service android:name="org.chromium.content.app.SandboxedProcessService2"
327 android:process=":sandboxed_process2"
328 android:permission="org.chromium.content_shell.permission.SANDBOX"
329 android:isolatedProcess="true"
330 android:exported="false" />
331 <service android:name="org.chromium.content.app.SandboxedProcessService3"
332 android:process=":sandboxed_process3"
333 android:permission="org.chromium.content_shell.permission.SANDBOX"
334 android:isolatedProcess="true"
335 android:exported="false" />
336 <service android:name="org.chromium.content.app.SandboxedProcessService4"
337 android:process=":sandboxed_process4"
338 android:permission="org.chromium.content_shell.permission.SANDBOX"
339 android:isolatedProcess="true"
340 android:exported="false" />
341 <service android:name="org.chromium.content.app.SandboxedProcessService5"
342 android:process=":sandboxed_process5"
343 android:permission="org.chromium.content_shell.permission.SANDBOX"
344 android:isolatedProcess="true"
345 android:exported="false" />
346 <service android:name="org.chromium.content.app.SandboxedProcessService6"
347 android:process=":sandboxed_process6"
348 android:permission="org.chromium.content_shell.permission.SANDBOX"
349 android:isolatedProcess="true"
350 android:exported="false" />
351 <service android:name="org.chromium.content.app.SandboxedProcessService7"
352 android:process=":sandboxed_process7"
353 android:permission="org.chromium.content_shell.permission.SANDBOX"
354 android:isolatedProcess="true"
355 android:exported="false" />
356 <service android:name="org.chromium.content.app.SandboxedProcessService8"
357 android:process=":sandboxed_process8"
358 android:permission="org.chromium.content_shell.permission.SANDBOX"
359 android:isolatedProcess="true"
360 android:exported="false" />
361 <service android:name="org.chromium.content.app.SandboxedProcessService9"
362 android:process=":sandboxed_process9"
363 android:permission="org.chromium.content_shell.permission.SANDBOX"
364 android:isolatedProcess="true"
365 android:exported="false" />
366 <service android:name="org.chromium.content.app.SandboxedProcessService10"
367 android:process=":sandboxed_process10"
368 android:permission="org.chromium.content_shell.permission.SANDBOX"
369 android:isolatedProcess="true"
370 android:exported="false" />
371 <service android:name="org.chromium.content.app.SandboxedProcessService11"
372 android:process=":sandboxed_process11"
373 android:permission="org.chromium.content_shell.permission.SANDBOX"
374 android:isolatedProcess="true"
375 android:exported="false" />
376 <service android:name="org.chromium.content.app.SandboxedProcessService12"
377 android:process=":sandboxed_process12"
378 android:permission="org.chromium.content_shell.permission.SANDBOX"
379 android:isolatedProcess="true"
380 android:exported="false" />
381 <service android:name="org.chromium.content.app.SandboxedProcessService13"
382 android:process=":sandboxed_process13"
383 android:permission="org.chromium.content_shell.permission.SANDBOX"
384 android:isolatedProcess="true"
385 android:exported="false" />
Tarun Nainani8eb00912014-07-17 12:28:32 -0700386 <service android:name="org.chromium.content.app.SandboxedProcessService14"
387 android:process=":sandboxed_process14"
388 android:permission="org.chromium.content_shell.permission.SANDBOX"
389 android:isolatedProcess="true"
390 android:exported="false" />
391 <service android:name="org.chromium.content.app.SandboxedProcessService15"
392 android:process=":sandboxed_process15"
393 android:permission="org.chromium.content_shell.permission.SANDBOX"
394 android:isolatedProcess="true"
395 android:exported="false" />
396 <service android:name="org.chromium.content.app.SandboxedProcessService16"
397 android:process=":sandboxed_process16"
398 android:permission="org.chromium.content_shell.permission.SANDBOX"
399 android:isolatedProcess="true"
400 android:exported="false" />
401 <service android:name="org.chromium.content.app.SandboxedProcessService17"
402 android:process=":sandboxed_process17"
403 android:permission="org.chromium.content_shell.permission.SANDBOX"
404 android:isolatedProcess="true"
405 android:exported="false" />
406 <service android:name="org.chromium.content.app.SandboxedProcessService18"
407 android:process=":sandboxed_process18"
408 android:permission="org.chromium.content_shell.permission.SANDBOX"
409 android:isolatedProcess="true"
410 android:exported="false" />
411 <service android:name="org.chromium.content.app.SandboxedProcessService19"
412 android:process=":sandboxed_process19"
413 android:permission="org.chromium.content_shell.permission.SANDBOX"
414 android:isolatedProcess="true"
415 android:exported="false" />
Tarun Nainanief749cb2014-05-19 18:16:53 -0700416 </application>
417
Vivek Sekhar0989b452014-08-01 12:30:35 -0700418 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19" />
Tarun Nainanief749cb2014-05-19 18:16:53 -0700419
420 <uses-feature android:name="android.hardware.location.gps" android:required="false" />
421
422</manifest>
423