blob: 14ffe750509352df204ee20643d47396b3af4435 [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
The Android Open Source Project0c908882009-03-03 19:32:16 -080023 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
24 <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"/>
25 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
26 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
27 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
28 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
29 <uses-permission android:name="android.permission.INTERNET" />
Ben Murdoch4f75ba22009-10-27 11:48:28 +000030 <uses-permission android:name="android.permission.SET_WALLPAPER" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080031 <uses-permission android:name="android.permission.WAKE_LOCK"/>
Grace Kloba4d7880f2009-08-12 09:35:42 -070032 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Bjorn Bringertd69f51d2010-09-13 14:06:41 +010033 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Leon Scroggins04b2e8e2009-07-27 11:07:09 -040034 <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
35 <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
Leon Scrogginsfedc4932010-01-26 14:15:01 -050036 <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080037
38 <application android:name="Browser"
39 android:label="@string/application_name"
40 android:icon="@drawable/ic_launcher_browser"
Christopher Tatede6f1312009-07-07 13:11:41 -070041 android:backupAgent=".BrowserBackupAgent"
Michael Kolbc7485ae2010-09-03 10:10:58 -070042 android:hardwareAccelerated="false"
The Android Open Source Project0c908882009-03-03 19:32:16 -080043 android:taskAffinity="android.task.browser" >
The Android Open Source Project0c908882009-03-03 19:32:16 -080044
Satish Sampath565505b2009-05-29 15:37:27 +010045 <provider android:name="BrowserProvider"
46 android:authorities="browser"
47 android:multiprocess="true"
Leon Scroggins04b2e8e2009-07-27 11:07:09 -040048 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
49 android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS">
Dianne Hackborn373d5f22009-07-08 14:59:33 -070050 <path-permission android:path="/bookmarks/search_suggest_query"
51 android:readPermission="android.permission.GLOBAL_SEARCH" />
52 </provider>
Jeff Hamilton84029622010-08-05 14:29:28 -050053 <provider android:name=".provider.BrowserProvider2"
54 android:authorities="com.android.browser"
55 android:multiprocess="true"
56 android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
57 android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS">
58 <path-permission android:path="/bookmarks/search_suggest_query"
59 android:readPermission="android.permission.GLOBAL_SEARCH" />
60 </provider>
The Android Open Source Project0c908882009-03-03 19:32:16 -080061 <activity android:name="BrowserActivity"
62 android:label="@string/application_name"
63 android:launchMode="singleTask"
64 android:alwaysRetainTaskState="true"
65 android:configChanges="orientation|keyboardHidden"
Derek Sollenbergerfe7f3f52009-12-18 08:59:22 -050066 android:theme="@style/BrowserTheme"
67 android:windowSoftInputMode="adjustResize" >
Leon Scroggins58d56c62010-01-28 15:12:40 -050068 <intent-filter>
69 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
70 <category android:name="android.intent.category.DEFAULT" />
71 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -080072 <!-- For these schemes were not particular MIME type has been
73 supplied, we are a good candidate. -->
74 <intent-filter>
75 <action android:name="android.intent.action.VIEW" />
76 <category android:name="android.intent.category.DEFAULT" />
77 <category android:name="android.intent.category.BROWSABLE" />
78 <data android:scheme="http" />
79 <data android:scheme="https" />
80 <data android:scheme="about" />
Leon Scroggins1ae92f92009-09-15 17:33:20 -040081 <data android:scheme="javascript" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080082 </intent-filter>
83 <!-- For these schemes where any of these particular MIME types
84 have been supplied, we are a good candidate. -->
85 <intent-filter>
86 <action android:name="android.intent.action.VIEW" />
87 <category android:name="android.intent.category.BROWSABLE" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <data android:scheme="http" />
90 <data android:scheme="https" />
Mitsuru Oshima25ad8ab2009-06-10 16:26:07 -070091 <data android:scheme="inline" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080092 <data android:mimeType="text/html"/>
93 <data android:mimeType="text/plain"/>
94 <data android:mimeType="application/xhtml+xml"/>
95 <data android:mimeType="application/vnd.wap.xhtml+xml"/>
96 </intent-filter>
Elliott Slaughter0ced08c2010-06-30 11:40:42 -070097 <!-- For viewing saved web archives. -->
98 <intent-filter>
99 <action android:name="android.intent.action.VIEW" />
100 <category android:name="android.intent.category.BROWSABLE" />
101 <category android:name="android.intent.category.DEFAULT" />
102 <data android:scheme="http" />
103 <data android:scheme="https" />
104 <data android:scheme="file" />
105 <data android:mimeType="application/x-webarchive-xml"/>
106 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800107 <!-- We are also the main entry point of the browser. -->
108 <intent-filter>
109 <action android:name="android.intent.action.MAIN" />
110 <category android:name="android.intent.category.DEFAULT" />
111 <category android:name="android.intent.category.LAUNCHER" />
112 <category android:name="android.intent.category.BROWSABLE" />
113 </intent-filter>
114 <!-- The maps app is a much better experience, so it's not
115 worth having this at all... especially for a demo!
116 <intent-filter android:label="Map In Browser">
117 <action android:name="android.intent.action.VIEW" />
118 <category android:name="android.intent.category.DEFAULT" />
119 <data android:mimeType="vnd.android.cursor.item/postal-address" />
120 </intent-filter>
121 -->
122 <intent-filter>
123 <action android:name="android.intent.action.WEB_SEARCH" />
124 <category android:name="android.intent.category.DEFAULT" />
125 <category android:name="android.intent.category.BROWSABLE" />
126 <data android:scheme="" />
127 <data android:scheme="http" />
128 <data android:scheme="https" />
129 </intent-filter>
130 <intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800131 <action android:name="android.intent.action.MEDIA_SEARCH" />
132 <category android:name="android.intent.category.DEFAULT" />
133 </intent-filter>
134 <intent-filter>
135 <action android:name="android.intent.action.SEARCH" />
136 <category android:name="android.intent.category.DEFAULT" />
137 </intent-filter>
138 <meta-data android:name="android.app.searchable"
139 android:resource="@xml/searchable" />
The Android Open Source Project0c908882009-03-03 19:32:16 -0800140 </activity>
141
Brad Fitzpatrickad2f3602010-03-19 13:35:21 -0700142 <activity android:name="CombinedBookmarkHistoryActivity" android:label="@string/bookmarks"
143 android:excludeFromRecents="true"
Grace Kloba429faf22009-09-16 15:56:40 -0700144 android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"
145 android:theme="@style/BookmarkTheme" >
Ben Murdoch1e8fac52009-09-21 15:34:07 +0100146 <meta-data android:name="android.app.default_searchable"
147 android:value=".BrowserActivity" />
Brad Fitzpatrickad2f3602010-03-19 13:35:21 -0700148 <intent-filter>
149 <action android:name="android.intent.action.MAIN" />
150 </intent-filter>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800151 </activity>
152
153 <activity android:name="BrowserBookmarksPage" android:label="@string/bookmarks"
154 android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden">
155 </activity>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800156
Michael Kolb801ecb72010-08-25 12:57:38 -0700157 <activity android:name="ShortcutActivity"
158 android:theme="@style/ShortcutTheme"
Romain Guydb6c3912009-03-24 18:08:40 -0700159 android:label="@string/shortcut_bookmark"
160 android:icon="@drawable/ic_launcher_shortcut_browser_bookmark">
The Android Open Source Project0c908882009-03-03 19:32:16 -0800161
162 <intent-filter>
163 <action android:name="android.intent.action.CREATE_SHORTCUT" />
164 <category android:name="android.intent.category.DEFAULT" />
165 </intent-filter>
166
Michael Kolb801ecb72010-08-25 12:57:38 -0700167 </activity>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800168
169 <activity android:name="BrowserDownloadPage" android:label=""
170 android:configChanges="orientation|keyboardHidden">
171 </activity>
172
173 <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences"
174 android:configChanges="orientation|keyboardHidden">
175 </activity>
176
177 <activity android:name="BrowserHistoryPage" android:label=""
178 android:configChanges="orientation|keyboardHidden">
179 </activity>
180
Nicolas Roarde46990e2009-06-19 16:27:49 +0100181 <activity android:name="WebsiteSettingsActivity" android:label=""
182 android:configChanges="orientation|keyboardHidden">
183 </activity>
184
Bjorn Bringerte90ede42009-04-29 22:33:52 +0100185 <activity android:name="BookmarkSearch"
186 android:label="@string/bookmarks_search"
187 android:stateNotNeeded="true"
188 android:theme="@android:style/Theme.NoDisplay"
189 android:excludeFromRecents="true">
190 <intent-filter>
191 <action android:name="android.intent.action.SEARCH" />
192 <category android:name="android.intent.category.DEFAULT" />
193 </intent-filter>
194 <meta-data android:name="android.app.searchable"
195 android:resource="@xml/bookmarks_searchable" />
196 </activity>
197
Michael Kolbc7485ae2010-09-03 10:10:58 -0700198 <activity android:name="AddBookmarkPage" android:label="Save bookmark" android:theme="@style/Dialog.Holo"
The Android Open Source Project0c908882009-03-03 19:32:16 -0800199 android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden">
200 <intent-filter>
201 <action android:name="android.intent.action.INSERT" />
202 <category android:name="android.intent.category.DEFAULT" />
203 <data android:mimeType="vnd.android.cursor.dir/bookmark"/>
204 </intent-filter>
205 </activity>
206
Ben Murdocheecb4e62010-07-06 16:30:38 +0100207 <activity android:name="SaveToHomescreenDialog" android:label="Save to homescreen" android:theme="@android:style/Theme.Dialog"
208 android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden">
209 </activity>
210
Patrick Scott1c15ace2009-12-08 08:51:33 -0500211 <!--receiver android:name=".widget.BookmarkWidgetProvider" android:label="@string/bookmarks">
212 <intent-filter>
213 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
214 </intent-filter>
215 <meta-data android:name="android.appwidget.provider" android:resource="@xml/bookmarkwidget"/>
216 </receiver>
217
218 <service android:name=".widget.BookmarkWidgetService" /-->
219
Michael Kolb0382be22010-08-15 15:48:37 -0700220 <receiver
221 android:name=".widget.BookmarkStackWidgetProvider"
222 android:label="@string/bookmarks">
223 <intent-filter>
224 <action
225 android:name="android.appwidget.action.APPWIDGET_UPDATE" />
226 </intent-filter>
227 <meta-data
228 android:name="android.appwidget.provider"
229 android:resource="@xml/bookmarkstackwidget" />
230 </receiver>
231 <service
232 android:name=".widget.BookmarkStackWidgetService"
233 android:exported="true" />
234
The Android Open Source Project0c908882009-03-03 19:32:16 -0800235 <!-- Makes .BrowserActivity the search target for any activity in Browser -->
236 <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />
237
Jeff Davidson43610292010-07-16 16:03:58 -0700238 <!-- Application code for RLZ tracking. RLZ assigns non-unique, non-personally identifiable
239 tracking labels to client products; these labels sometimes appear in Google search
240 queries. See http://code.google.com/p/rlz for more info.
241
242 This value signifies to the RLZ client that this application uses RLZ tracking. -->
243 <meta-data android:name="com.google.android.partnersetup.RLZ_ACCESS_POINT"
244 android:value="@string/rlz_access_point" />
245
Leon Scrogginsfedc4932010-01-26 14:15:01 -0500246 <receiver android:name=".OpenDownloadReceiver">
247 <intent-filter>
248 <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/>
249 <action android:name="android.intent.action.DELETE"/>
250 <data android:scheme="content" android:mimeType="vnd.android.cursor.item/download"/>
251 </intent-filter>
252 </receiver>
The Android Open Source Project0c908882009-03-03 19:32:16 -0800253 </application>
254
The Android Open Source Project0c908882009-03-03 19:32:16 -0800255</manifest>
256