blob: 26ea91e356a5ddb75ae648e095d7e710c65802b5 [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" />
Leon Scroggins04b2e8e2009-07-27 11:07:09 -040044 <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
45 <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
Jeff Hamiltona9bad832010-09-24 11:05:30 -050046 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
The Android Open Source Project0c908882009-03-03 19:32:16 -080047
48 <application android:name="Browser"
49 android:label="@string/application_name"
Ying Wang79697cb2010-11-23 11:17:46 -080050 android:icon="@mipmap/ic_launcher_browser"
Christopher Tatede6f1312009-07-07 13:11:41 -070051 android:backupAgent=".BrowserBackupAgent"
John Reckc8a9fea2010-12-01 16:27:04 -080052 android:hardwareAccelerated="true"
The Android Open Source Project0c908882009-03-03 19:32:16 -080053 android:taskAffinity="android.task.browser" >
The Android Open Source Project0c908882009-03-03 19:32:16 -080054
Jeff Hamilton84029622010-08-05 14:29:28 -050055 <provider android:name=".provider.BrowserProvider2"
John Reckdd03faf2010-12-13 11:03:16 -080056 android:authorities="com.android.browser;browser"
Jeff Hamilton84029622010-08-05 14:29:28 -050057 android:multiprocess="true"
58 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
59 android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS">
60 <path-permission android:path="/bookmarks/search_suggest_query"
61 android:readPermission="android.permission.GLOBAL_SEARCH" />
62 </provider>
The Android Open Source Project0c908882009-03-03 19:32:16 -080063 <activity android:name="BrowserActivity"
64 android:label="@string/application_name"
65 android:launchMode="singleTask"
66 android:alwaysRetainTaskState="true"
Dianne Hackborn181aac72011-04-06 12:40:37 -070067 android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
Derek Sollenbergerfe7f3f52009-12-18 08:59:22 -050068 android:theme="@style/BrowserTheme"
John Reckc8a9fea2010-12-01 16:27:04 -080069 android:hardwareAccelerated="false"
Derek Sollenbergerfe7f3f52009-12-18 08:59:22 -050070 android:windowSoftInputMode="adjustResize" >
Leon Scroggins58d56c62010-01-28 15:12:40 -050071 <intent-filter>
72 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
73 <category android:name="android.intent.category.DEFAULT" />
74 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -080075 <!-- For these schemes were not particular MIME type has been
76 supplied, we are a good candidate. -->
77 <intent-filter>
78 <action android:name="android.intent.action.VIEW" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <category android:name="android.intent.category.BROWSABLE" />
81 <data android:scheme="http" />
82 <data android:scheme="https" />
83 <data android:scheme="about" />
Leon Scroggins1ae92f92009-09-15 17:33:20 -040084 <data android:scheme="javascript" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080085 </intent-filter>
86 <!-- For these schemes where any of these particular MIME types
87 have been supplied, we are a good candidate. -->
88 <intent-filter>
89 <action android:name="android.intent.action.VIEW" />
90 <category android:name="android.intent.category.BROWSABLE" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <data android:scheme="http" />
93 <data android:scheme="https" />
Mitsuru Oshima25ad8ab2009-06-10 16:26:07 -070094 <data android:scheme="inline" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080095 <data android:mimeType="text/html"/>
96 <data android:mimeType="text/plain"/>
97 <data android:mimeType="application/xhtml+xml"/>
98 <data android:mimeType="application/vnd.wap.xhtml+xml"/>
99 </intent-filter>
Elliott Slaughter0ced08c2010-06-30 11:40:42 -0700100 <!-- For viewing saved web archives. -->
101 <intent-filter>
102 <action android:name="android.intent.action.VIEW" />
103 <category android:name="android.intent.category.BROWSABLE" />
104 <category android:name="android.intent.category.DEFAULT" />
105 <data android:scheme="http" />
106 <data android:scheme="https" />
107 <data android:scheme="file" />
108 <data android:mimeType="application/x-webarchive-xml"/>
109 </intent-filter>
Jeff Hamiltonfd77aaa2011-06-17 16:19:33 -0500110 <!-- Accept inbound NFC URLs at a low priority -->
111 <intent-filter android:priority="-101">
112 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
113 <category android:name="android.intent.category.DEFAULT" />
114 <data android:scheme="http" />
115 <data android:scheme="https" />
116 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800117 <!-- We are also the main entry point of the browser. -->
118 <intent-filter>
119 <action android:name="android.intent.action.MAIN" />
120 <category android:name="android.intent.category.DEFAULT" />
121 <category android:name="android.intent.category.LAUNCHER" />
122 <category android:name="android.intent.category.BROWSABLE" />
123 </intent-filter>
124 <!-- The maps app is a much better experience, so it's not
125 worth having this at all... especially for a demo!
126 <intent-filter android:label="Map In Browser">
127 <action android:name="android.intent.action.VIEW" />
128 <category android:name="android.intent.category.DEFAULT" />
129 <data android:mimeType="vnd.android.cursor.item/postal-address" />
130 </intent-filter>
131 -->
132 <intent-filter>
133 <action android:name="android.intent.action.WEB_SEARCH" />
134 <category android:name="android.intent.category.DEFAULT" />
135 <category android:name="android.intent.category.BROWSABLE" />
136 <data android:scheme="" />
137 <data android:scheme="http" />
138 <data android:scheme="https" />
139 </intent-filter>
140 <intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800141 <action android:name="android.intent.action.MEDIA_SEARCH" />
142 <category android:name="android.intent.category.DEFAULT" />
143 </intent-filter>
144 <intent-filter>
145 <action android:name="android.intent.action.SEARCH" />
146 <category android:name="android.intent.category.DEFAULT" />
147 </intent-filter>
148 <meta-data android:name="android.app.searchable"
149 android:resource="@xml/searchable" />
The Android Open Source Project0c908882009-03-03 19:32:16 -0800150 </activity>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800151
Michael Kolb801ecb72010-08-25 12:57:38 -0700152 <activity android:name="ShortcutActivity"
153 android:theme="@style/ShortcutTheme"
Romain Guydb6c3912009-03-24 18:08:40 -0700154 android:label="@string/shortcut_bookmark"
Ying Wang79697cb2010-11-23 11:17:46 -0800155 android:icon="@mipmap/ic_launcher_shortcut_browser_bookmark">
The Android Open Source Project0c908882009-03-03 19:32:16 -0800156
157 <intent-filter>
158 <action android:name="android.intent.action.CREATE_SHORTCUT" />
159 <category android:name="android.intent.category.DEFAULT" />
160 </intent-filter>
161
Michael Kolb801ecb72010-08-25 12:57:38 -0700162 </activity>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800163
Ben Murdochde94e402010-11-30 15:45:52 +0000164 <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences">
John Reck7b182d72011-07-08 10:30:53 -0700165 <intent-filter>
166 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
167 <category android:name="android.intent.category.DEFAULT" />
168 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800169 </activity>
170
Bjorn Bringerte90ede42009-04-29 22:33:52 +0100171 <activity android:name="BookmarkSearch"
172 android:label="@string/bookmarks_search"
173 android:stateNotNeeded="true"
174 android:theme="@android:style/Theme.NoDisplay"
175 android:excludeFromRecents="true">
176 <intent-filter>
177 <action android:name="android.intent.action.SEARCH" />
178 <category android:name="android.intent.category.DEFAULT" />
179 </intent-filter>
180 <meta-data android:name="android.app.searchable"
181 android:resource="@xml/bookmarks_searchable" />
182 </activity>
183
Michael Kolbd3e4d4f2010-10-15 10:58:44 -0700184 <activity android:name="AddBookmarkPage" android:label="Save bookmark"
John Reck9d27ff52011-02-11 17:47:54 -0800185 android:theme="@style/DialogWhenLarge"
Dianne Hackborn181aac72011-04-06 12:40:37 -0700186 android:configChanges="orientation|keyboardHidden|screenSize"
Leon Scroggins162f8352010-10-18 15:02:44 -0400187 android:windowSoftInputMode="stateHidden|adjustPan">
The Android Open Source Project0c908882009-03-03 19:32:16 -0800188 <intent-filter>
189 <action android:name="android.intent.action.INSERT" />
190 <category android:name="android.intent.category.DEFAULT" />
191 <data android:mimeType="vnd.android.cursor.dir/bookmark"/>
192 </intent-filter>
193 </activity>
194
John Reck1537b772011-01-11 15:36:01 -0800195 <!-- Bookmark thumbnail homescreen widget -->
Michael Kolb0382be22010-08-15 15:48:37 -0700196 <receiver
John Reck1537b772011-01-11 15:36:01 -0800197 android:name=".widget.BookmarkThumbnailWidgetProvider"
Michael Kolb0382be22010-08-15 15:48:37 -0700198 android:label="@string/bookmarks">
199 <intent-filter>
200 <action
201 android:name="android.appwidget.action.APPWIDGET_UPDATE" />
John Reckdf63d2f2010-10-29 11:42:55 -0700202 <action
203 android:name="com.android.browser.BOOKMARK_APPWIDGET_UPDATE" />
Michael Kolb0382be22010-08-15 15:48:37 -0700204 </intent-filter>
205 <meta-data
206 android:name="android.appwidget.provider"
John Reck1537b772011-01-11 15:36:01 -0800207 android:resource="@xml/bookmarkthumbnailwidget_info" />
Michael Kolb0382be22010-08-15 15:48:37 -0700208 </receiver>
209 <service
John Reck1537b772011-01-11 15:36:01 -0800210 android:name=".widget.BookmarkThumbnailWidgetService"
Winson Chung899cdf42011-01-18 15:24:44 -0800211 android:permission="android.permission.BIND_REMOTEVIEWS"
212 android:exported="false" />
John Reck99c6d332011-02-01 12:57:06 -0800213 <receiver
214 android:name=".widget.BookmarkWidgetProxy"
215 android:exported="false" />
John Reck9b8cd1e2011-05-25 18:14:01 -0700216 <activity android:name=".widget.BookmarkWidgetConfigure"
217 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
218 <intent-filter>
219 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
220 </intent-filter>
221 </activity>
Michael Kolb0382be22010-08-15 15:48:37 -0700222
The Android Open Source Project0c908882009-03-03 19:32:16 -0800223 <!-- Makes .BrowserActivity the search target for any activity in Browser -->
224 <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />
225
Jeff Davidson43610292010-07-16 16:03:58 -0700226 <!-- Application code for RLZ tracking. RLZ assigns non-unique, non-personally identifiable
227 tracking labels to client products; these labels sometimes appear in Google search
228 queries. See http://code.google.com/p/rlz for more info.
229
230 This value signifies to the RLZ client that this application uses RLZ tracking. -->
231 <meta-data android:name="com.google.android.partnersetup.RLZ_ACCESS_POINT"
232 android:value="@string/rlz_access_point" />
233
Leon Scrogginsfedc4932010-01-26 14:15:01 -0500234 <receiver android:name=".OpenDownloadReceiver">
235 <intent-filter>
236 <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/>
Leon Scrogginsfedc4932010-01-26 14:15:01 -0500237 </intent-filter>
238 </receiver>
John Reckbafe58a2011-01-11 10:26:02 -0800239
240 <!-- For custom home pages (like most visited) -->
241 <provider
242 android:name=".homepages.HomeProvider"
243 android:authorities="com.android.browser.home"
244 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
245 android:exported="false" />
John Reck267b6af2011-01-19 10:15:47 -0800246
John Reck5a775372011-06-17 14:27:24 -0700247 <receiver android:name=".AccountsChangedReceiver">
248 <intent-filter>
249 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
250 </intent-filter>
251 </receiver>
252
Michael Kolb14612442011-06-24 13:06:29 -0700253 <receiver android:name=".PreloadRequestReceiver"
254 android:permission="com.android.browser.permission.PRELOAD" >
255 <intent-filter>
256 <action android:name="android.intent.action.PRELOAD"/>
257 <data android:scheme="http" />
258 </intent-filter>
259 </receiver>
260
John Reck8cc92352011-07-06 17:41:52 -0700261 <provider android:name=".provider.SnapshotProvider"
262 android:authorities="com.android.browser.snapshots"
263 android:exported="false" />
264
The Android Open Source Project0c908882009-03-03 19:32:16 -0800265 </application>
266
The Android Open Source Project0c908882009-03-03 19:32:16 -0800267</manifest>
268