The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <!-- |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 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 | */ |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 17 | --> |
| 18 | |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser"> |
| 20 | |
Jeff Hamilton | 660d285 | 2010-02-11 16:25:47 -0600 | [diff] [blame] | 21 | <original-package android:name="com.android.browser" /> |
| 22 | |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 23 | <permission android:name="com.android.browser.permission.PRELOAD" |
| 24 | android:label="@string/permission_preload_label" |
| 25 | android:protectionLevel="signatureOrSystem" /> |
| 26 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 27 | <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 Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.GET_ACCOUNTS"/> |
Patrick Scott | d05faa6 | 2010-12-16 09:15:34 -0500 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.USE_CREDENTIALS"/> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.INTERNET" /> |
Martijn Coenen | b2f9355 | 2011-06-14 10:48:35 +0200 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.NFC" /> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" /> |
Ben Murdoch | 4f75ba2 | 2009-10-27 11:48:28 +0000 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 38 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Grace Kloba | 4d7880f | 2009-08-12 09:35:42 -0700 | [diff] [blame] | 39 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Bjorn Bringert | d69f51d | 2010-09-13 14:06:41 +0100 | [diff] [blame] | 40 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
John Reck | 267b6af | 2011-01-19 10:15:47 -0800 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
John Reck | 7726377 | 2011-02-10 13:57:30 -0800 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
Ben Murdoch | 3d6c719 | 2011-10-27 18:04:58 +0100 | [diff] [blame] | 44 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 45 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
Leon Scroggins | 04b2e8e | 2009-07-27 11:07:09 -0400 | [diff] [blame] | 46 | <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/> |
| 47 | <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 48 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 49 | |
| 50 | <application android:name="Browser" |
| 51 | android:label="@string/application_name" |
Ying Wang | 79697cb | 2010-11-23 11:17:46 -0800 | [diff] [blame] | 52 | android:icon="@mipmap/ic_launcher_browser" |
Christopher Tate | de6f131 | 2009-07-07 13:11:41 -0700 | [diff] [blame] | 53 | android:backupAgent=".BrowserBackupAgent" |
John Reck | c8a9fea | 2010-12-01 16:27:04 -0800 | [diff] [blame] | 54 | android:hardwareAccelerated="true" |
Liran Chen | ec873cb | 2013-09-17 22:12:45 +0300 | [diff] [blame] | 55 | android:taskAffinity="android.task.browser" |
| 56 | android:supportsRtl="true" > |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 57 | |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 58 | <provider android:name=".provider.BrowserProvider2" |
John Reck | dd03faf | 2010-12-13 11:03:16 -0800 | [diff] [blame] | 59 | android:authorities="com.android.browser;browser" |
John Reck | a32575d | 2012-03-01 13:13:44 -0800 | [diff] [blame] | 60 | android:multiprocess="false" |
Nick Kralevich | 3c2ab03 | 2012-07-30 14:23:39 -0700 | [diff] [blame] | 61 | android:exported="true" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 62 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 63 | android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"> |
| 64 | <path-permission android:path="/bookmarks/search_suggest_query" |
| 65 | android:readPermission="android.permission.GLOBAL_SEARCH" /> |
| 66 | </provider> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 67 | <activity android:name="BrowserActivity" |
| 68 | android:label="@string/application_name" |
| 69 | android:launchMode="singleTask" |
| 70 | android:alwaysRetainTaskState="true" |
Michael Kolb | 18f252f | 2012-03-06 13:36:20 -0800 | [diff] [blame] | 71 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" |
Derek Sollenberger | fe7f3f5 | 2009-12-18 08:59:22 -0500 | [diff] [blame] | 72 | android:theme="@style/BrowserTheme" |
| 73 | android:windowSoftInputMode="adjustResize" > |
Leon Scroggins | 58d56c6 | 2010-01-28 15:12:40 -0500 | [diff] [blame] | 74 | <intent-filter> |
| 75 | <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" /> |
| 76 | <category android:name="android.intent.category.DEFAULT" /> |
| 77 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 78 | <!-- For these schemes were not particular MIME type has been |
| 79 | supplied, we are a good candidate. --> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.VIEW" /> |
| 82 | <category android:name="android.intent.category.DEFAULT" /> |
| 83 | <category android:name="android.intent.category.BROWSABLE" /> |
| 84 | <data android:scheme="http" /> |
| 85 | <data android:scheme="https" /> |
| 86 | <data android:scheme="about" /> |
Leon Scroggins | 1ae92f9 | 2009-09-15 17:33:20 -0400 | [diff] [blame] | 87 | <data android:scheme="javascript" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 88 | </intent-filter> |
| 89 | <!-- For these schemes where any of these particular MIME types |
| 90 | have been supplied, we are a good candidate. --> |
| 91 | <intent-filter> |
| 92 | <action android:name="android.intent.action.VIEW" /> |
| 93 | <category android:name="android.intent.category.BROWSABLE" /> |
| 94 | <category android:name="android.intent.category.DEFAULT" /> |
| 95 | <data android:scheme="http" /> |
| 96 | <data android:scheme="https" /> |
Mitsuru Oshima | 25ad8ab | 2009-06-10 16:26:07 -0700 | [diff] [blame] | 97 | <data android:scheme="inline" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 98 | <data android:mimeType="text/html"/> |
| 99 | <data android:mimeType="text/plain"/> |
| 100 | <data android:mimeType="application/xhtml+xml"/> |
| 101 | <data android:mimeType="application/vnd.wap.xhtml+xml"/> |
| 102 | </intent-filter> |
Elliott Slaughter | 0ced08c | 2010-06-30 11:40:42 -0700 | [diff] [blame] | 103 | <!-- For viewing saved web archives. --> |
| 104 | <intent-filter> |
| 105 | <action android:name="android.intent.action.VIEW" /> |
| 106 | <category android:name="android.intent.category.BROWSABLE" /> |
| 107 | <category android:name="android.intent.category.DEFAULT" /> |
| 108 | <data android:scheme="http" /> |
| 109 | <data android:scheme="https" /> |
| 110 | <data android:scheme="file" /> |
| 111 | <data android:mimeType="application/x-webarchive-xml"/> |
| 112 | </intent-filter> |
Jeff Hamilton | fd77aaa | 2011-06-17 16:19:33 -0500 | [diff] [blame] | 113 | <!-- Accept inbound NFC URLs at a low priority --> |
| 114 | <intent-filter android:priority="-101"> |
| 115 | <action android:name="android.nfc.action.NDEF_DISCOVERED" /> |
| 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | <data android:scheme="http" /> |
| 118 | <data android:scheme="https" /> |
| 119 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 120 | <!-- We are also the main entry point of the browser. --> |
| 121 | <intent-filter> |
| 122 | <action android:name="android.intent.action.MAIN" /> |
| 123 | <category android:name="android.intent.category.DEFAULT" /> |
| 124 | <category android:name="android.intent.category.LAUNCHER" /> |
| 125 | <category android:name="android.intent.category.BROWSABLE" /> |
Jeff Brown | 6af55fa | 2011-11-28 16:32:57 -0800 | [diff] [blame] | 126 | <category android:name="android.intent.category.APP_BROWSER" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 127 | </intent-filter> |
| 128 | <!-- The maps app is a much better experience, so it's not |
| 129 | worth having this at all... especially for a demo! |
| 130 | <intent-filter android:label="Map In Browser"> |
| 131 | <action android:name="android.intent.action.VIEW" /> |
| 132 | <category android:name="android.intent.category.DEFAULT" /> |
| 133 | <data android:mimeType="vnd.android.cursor.item/postal-address" /> |
| 134 | </intent-filter> |
| 135 | --> |
| 136 | <intent-filter> |
| 137 | <action android:name="android.intent.action.WEB_SEARCH" /> |
| 138 | <category android:name="android.intent.category.DEFAULT" /> |
| 139 | <category android:name="android.intent.category.BROWSABLE" /> |
| 140 | <data android:scheme="" /> |
| 141 | <data android:scheme="http" /> |
| 142 | <data android:scheme="https" /> |
| 143 | </intent-filter> |
| 144 | <intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 145 | <action android:name="android.intent.action.MEDIA_SEARCH" /> |
| 146 | <category android:name="android.intent.category.DEFAULT" /> |
| 147 | </intent-filter> |
| 148 | <intent-filter> |
| 149 | <action android:name="android.intent.action.SEARCH" /> |
| 150 | <category android:name="android.intent.category.DEFAULT" /> |
| 151 | </intent-filter> |
| 152 | <meta-data android:name="android.app.searchable" |
| 153 | android:resource="@xml/searchable" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 154 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 155 | |
Michael Kolb | 801ecb7 | 2010-08-25 12:57:38 -0700 | [diff] [blame] | 156 | <activity android:name="ShortcutActivity" |
| 157 | android:theme="@style/ShortcutTheme" |
Romain Guy | db6c391 | 2009-03-24 18:08:40 -0700 | [diff] [blame] | 158 | android:label="@string/shortcut_bookmark" |
Ying Wang | 79697cb | 2010-11-23 11:17:46 -0800 | [diff] [blame] | 159 | android:icon="@mipmap/ic_launcher_shortcut_browser_bookmark"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 160 | |
| 161 | <intent-filter> |
| 162 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 163 | <category android:name="android.intent.category.DEFAULT" /> |
| 164 | </intent-filter> |
| 165 | |
Michael Kolb | 801ecb7 | 2010-08-25 12:57:38 -0700 | [diff] [blame] | 166 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 167 | |
Ben Murdoch | de94e40 | 2010-11-30 15:45:52 +0000 | [diff] [blame] | 168 | <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences"> |
John Reck | 7b182d7 | 2011-07-08 10:30:53 -0700 | [diff] [blame] | 169 | <intent-filter> |
| 170 | <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" /> |
| 171 | <category android:name="android.intent.category.DEFAULT" /> |
| 172 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 173 | </activity> |
| 174 | |
Bjorn Bringert | e90ede4 | 2009-04-29 22:33:52 +0100 | [diff] [blame] | 175 | <activity android:name="BookmarkSearch" |
| 176 | android:label="@string/bookmarks_search" |
| 177 | android:stateNotNeeded="true" |
| 178 | android:theme="@android:style/Theme.NoDisplay" |
| 179 | android:excludeFromRecents="true"> |
| 180 | <intent-filter> |
| 181 | <action android:name="android.intent.action.SEARCH" /> |
| 182 | <category android:name="android.intent.category.DEFAULT" /> |
| 183 | </intent-filter> |
| 184 | <meta-data android:name="android.app.searchable" |
| 185 | android:resource="@xml/bookmarks_searchable" /> |
| 186 | </activity> |
| 187 | |
Michal Szynkaruk | efad1c3 | 2012-10-29 15:01:35 +0100 | [diff] [blame] | 188 | <activity android:name="AddBookmarkPage" android:label="@string/bookmarks_add_page" |
John Reck | 9d27ff5 | 2011-02-11 17:47:54 -0800 | [diff] [blame] | 189 | android:theme="@style/DialogWhenLarge" |
John Reck | af58d39 | 2012-05-22 17:47:06 -0700 | [diff] [blame] | 190 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 191 | android:windowSoftInputMode="adjustResize"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 192 | <intent-filter> |
| 193 | <action android:name="android.intent.action.INSERT" /> |
| 194 | <category android:name="android.intent.category.DEFAULT" /> |
| 195 | <data android:mimeType="vnd.android.cursor.dir/bookmark"/> |
| 196 | </intent-filter> |
| 197 | </activity> |
| 198 | |
John Reck | 2d963a2 | 2011-08-10 15:53:07 -0700 | [diff] [blame] | 199 | <activity android:name="ComboViewActivity"> |
John Reck | d3e4d5b | 2011-07-13 15:48:43 -0700 | [diff] [blame] | 200 | </activity> |
| 201 | |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 202 | <!-- Bookmark thumbnail homescreen widget --> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 203 | <receiver |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 204 | android:name=".widget.BookmarkThumbnailWidgetProvider" |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 205 | android:label="@string/bookmarks"> |
| 206 | <intent-filter> |
| 207 | <action |
| 208 | android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
John Reck | df63d2f | 2010-10-29 11:42:55 -0700 | [diff] [blame] | 209 | <action |
| 210 | android:name="com.android.browser.BOOKMARK_APPWIDGET_UPDATE" /> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 211 | </intent-filter> |
| 212 | <meta-data |
| 213 | android:name="android.appwidget.provider" |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 214 | android:resource="@xml/bookmarkthumbnailwidget_info" /> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 215 | </receiver> |
| 216 | <service |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 217 | android:name=".widget.BookmarkThumbnailWidgetService" |
Winson Chung | 899cdf4 | 2011-01-18 15:24:44 -0800 | [diff] [blame] | 218 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 219 | android:exported="false" /> |
John Reck | 99c6d33 | 2011-02-01 12:57:06 -0800 | [diff] [blame] | 220 | <receiver |
| 221 | android:name=".widget.BookmarkWidgetProxy" |
| 222 | android:exported="false" /> |
John Reck | 9b8cd1e | 2011-05-25 18:14:01 -0700 | [diff] [blame] | 223 | <activity android:name=".widget.BookmarkWidgetConfigure" |
| 224 | android:theme="@android:style/Theme.Holo.DialogWhenLarge"> |
| 225 | <intent-filter> |
| 226 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/> |
| 227 | </intent-filter> |
| 228 | </activity> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 229 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 230 | <!-- Makes .BrowserActivity the search target for any activity in Browser --> |
| 231 | <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" /> |
| 232 | |
Jeff Davidson | 4361029 | 2010-07-16 16:03:58 -0700 | [diff] [blame] | 233 | <!-- Application code for RLZ tracking. RLZ assigns non-unique, non-personally identifiable |
| 234 | tracking labels to client products; these labels sometimes appear in Google search |
| 235 | queries. See http://code.google.com/p/rlz for more info. |
| 236 | |
| 237 | This value signifies to the RLZ client that this application uses RLZ tracking. --> |
| 238 | <meta-data android:name="com.google.android.partnersetup.RLZ_ACCESS_POINT" |
| 239 | android:value="@string/rlz_access_point" /> |
| 240 | |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 241 | <receiver android:name=".OpenDownloadReceiver"> |
| 242 | <intent-filter> |
| 243 | <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/> |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 244 | </intent-filter> |
| 245 | </receiver> |
John Reck | bafe58a | 2011-01-11 10:26:02 -0800 | [diff] [blame] | 246 | |
| 247 | <!-- For custom home pages (like most visited) --> |
| 248 | <provider |
| 249 | android:name=".homepages.HomeProvider" |
| 250 | android:authorities="com.android.browser.home" |
| 251 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 252 | android:exported="false" /> |
John Reck | 267b6af | 2011-01-19 10:15:47 -0800 | [diff] [blame] | 253 | |
John Reck | 5a77537 | 2011-06-17 14:27:24 -0700 | [diff] [blame] | 254 | <receiver android:name=".AccountsChangedReceiver"> |
| 255 | <intent-filter> |
| 256 | <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /> |
| 257 | </intent-filter> |
| 258 | </receiver> |
| 259 | |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 260 | <receiver android:name=".PreloadRequestReceiver" |
| 261 | android:permission="com.android.browser.permission.PRELOAD" > |
| 262 | <intent-filter> |
| 263 | <action android:name="android.intent.action.PRELOAD"/> |
| 264 | <data android:scheme="http" /> |
| 265 | </intent-filter> |
| 266 | </receiver> |
| 267 | |
John Reck | 8cc9235 | 2011-07-06 17:41:52 -0700 | [diff] [blame] | 268 | <provider android:name=".provider.SnapshotProvider" |
| 269 | android:authorities="com.android.browser.snapshots" |
| 270 | android:exported="false" /> |
| 271 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 272 | </application> |
| 273 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 274 | </manifest> |
| 275 | |