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