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