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 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 20 | |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 21 | <permission android:name="{{ package_name }}.permission.PRELOAD" |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 22 | android:label="@string/permission_preload_label" |
| 23 | android:protectionLevel="signatureOrSystem" /> |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 24 | <permission android:name="{{ package_name }}.permission.INITIALIZE_DATABASE" |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 25 | android:protectionLevel="signatureOrSystem" /> |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 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"/> |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.CAMERA" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.INTERNET" /> |
Martijn Coenen | b2f9355 | 2011-06-14 10:48:35 +0200 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.NFC" /> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" /> |
Ben Murdoch | 4f75ba2 | 2009-10-27 11:48:28 +0000 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 38 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
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" /> |
Bijan Amirzada | e5f9034 | 2014-04-15 17:17:06 -0700 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.GET_ACCOUNTS"/> |
Leon Scroggins | 04b2e8e | 2009-07-27 11:07:09 -0400 | [diff] [blame] | 44 | <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/> |
| 45 | <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame] | 46 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 47 | <uses-permission android:name="{{ package_name }}.permission.READ_HOMEPAGE" /> |
| 48 | <uses-permission android:name="{{ package_name }}.permission.WRITE_HOMEPAGE" /> |
| 49 | <uses-permission android:name="{{ package_name }}.permission.INITIALIZE_DATABASE"/> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 50 | <uses-permission android:name="android.permission.VIBRATE"/> |
| 51 | <uses-permission android:name="android.permission.RECORD_AUDIO"/> |
| 52 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
Tarun Nainani | 8eb0091 | 2014-07-17 12:28:32 -0700 | [diff] [blame] | 53 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 54 | <!-- Templatize taskAffinity otherwise it will default to 'package' |
| 55 | defined in manifest --> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 56 | <application android:name="Browser" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 57 | android:label="{{ apk_label }}" |
| 58 | android:icon="{{ apk_icon }}" |
Christopher Tate | de6f131 | 2009-07-07 13:11:41 -0700 | [diff] [blame] | 59 | android:backupAgent=".BrowserBackupAgent" |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 60 | android:hardwareAccelerated="true" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 61 | android:taskAffinity="{{ apk_task_affinity }}" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 62 | android:theme="@style/BrowserBase" > |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 63 | |
qqzhou | e6ff8b4 | 2013-07-23 17:28:48 +0800 | [diff] [blame] | 64 | <uses-library android:name="com.qrd.useragent" |
| 65 | android:required="false" /> |
| 66 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 67 | <provider android:name=".provider.BrowserProvider2" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 68 | android:authorities="{{ package_name }};{{apk_authorities}}" |
John Reck | a32575d | 2012-03-01 13:13:44 -0800 | [diff] [blame] | 69 | android:multiprocess="false" |
Nick Kralevich | 3c2ab03 | 2012-07-30 14:23:39 -0700 | [diff] [blame] | 70 | android:exported="true" |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 71 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 72 | android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"> |
| 73 | <path-permission android:path="/bookmarks/search_suggest_query" |
| 74 | android:readPermission="android.permission.GLOBAL_SEARCH" /> |
kayiz | a58e6fb | 2013-10-10 13:47:28 +0800 | [diff] [blame] | 75 | <path-permission android:path="/homepage" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 76 | android:readPermission="{{ package_name }}.permission.READ_HOMEPAGE" |
| 77 | android:writePermission="{{ package_name }}.permission.WRITE_HOMEPAGE" /> |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 78 | </provider> |
Kulanthaivel Palanichamy | 7794268 | 2014-10-28 11:52:06 -0700 | [diff] [blame] | 79 | |
| 80 | <activity android:name="BrowserLauncher" |
| 81 | android:theme="@android:style/Theme.NoDisplay" > |
| 82 | <!-- We are the main entry point of the browser. --> |
| 83 | <intent-filter> |
| 84 | <action android:name="android.intent.action.MAIN" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | <category android:name="android.intent.category.LAUNCHER" /> |
| 87 | <category android:name="android.intent.category.BROWSABLE" /> |
| 88 | <category android:name="android.intent.category.APP_BROWSER" /> |
| 89 | </intent-filter> |
| 90 | </activity> |
| 91 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 92 | <activity android:name="BrowserActivity" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 93 | android:label="{{ apk_label }}" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 94 | android:launchMode="singleTask" |
| 95 | android:alwaysRetainTaskState="true" |
Michael Kolb | 18f252f | 2012-03-06 13:36:20 -0800 | [diff] [blame] | 96 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" |
Derek Sollenberger | fe7f3f5 | 2009-12-18 08:59:22 -0500 | [diff] [blame] | 97 | android:theme="@style/BrowserTheme" |
| 98 | android:windowSoftInputMode="adjustResize" > |
Kulanthaivel Palanichamy | 7794268 | 2014-10-28 11:52:06 -0700 | [diff] [blame] | 99 | |
Leon Scroggins | 58d56c6 | 2010-01-28 15:12:40 -0500 | [diff] [blame] | 100 | <intent-filter> |
| 101 | <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" /> |
| 102 | <category android:name="android.intent.category.DEFAULT" /> |
| 103 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 104 | <!-- For these schemes were not particular MIME type has been |
| 105 | supplied, we are a good candidate. --> |
| 106 | <intent-filter> |
| 107 | <action android:name="android.intent.action.VIEW" /> |
| 108 | <category android:name="android.intent.category.DEFAULT" /> |
| 109 | <category android:name="android.intent.category.BROWSABLE" /> |
| 110 | <data android:scheme="http" /> |
| 111 | <data android:scheme="https" /> |
| 112 | <data android:scheme="about" /> |
Leon Scroggins | 1ae92f9 | 2009-09-15 17:33:20 -0400 | [diff] [blame] | 113 | <data android:scheme="javascript" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 114 | </intent-filter> |
| 115 | <!-- For these schemes where any of these particular MIME types |
| 116 | have been supplied, we are a good candidate. --> |
| 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.VIEW" /> |
| 119 | <category android:name="android.intent.category.BROWSABLE" /> |
| 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | <data android:scheme="http" /> |
| 122 | <data android:scheme="https" /> |
Mitsuru Oshima | 25ad8ab | 2009-06-10 16:26:07 -0700 | [diff] [blame] | 123 | <data android:scheme="inline" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 124 | <data android:mimeType="text/html"/> |
| 125 | <data android:mimeType="text/plain"/> |
| 126 | <data android:mimeType="application/xhtml+xml"/> |
| 127 | <data android:mimeType="application/vnd.wap.xhtml+xml"/> |
| 128 | </intent-filter> |
Elliott Slaughter | 0ced08c | 2010-06-30 11:40:42 -0700 | [diff] [blame] | 129 | <!-- For viewing saved web archives. --> |
| 130 | <intent-filter> |
| 131 | <action android:name="android.intent.action.VIEW" /> |
| 132 | <category android:name="android.intent.category.BROWSABLE" /> |
| 133 | <category android:name="android.intent.category.DEFAULT" /> |
| 134 | <data android:scheme="http" /> |
| 135 | <data android:scheme="https" /> |
| 136 | <data android:scheme="file" /> |
| 137 | <data android:mimeType="application/x-webarchive-xml"/> |
| 138 | </intent-filter> |
Jeff Hamilton | fd77aaa | 2011-06-17 16:19:33 -0500 | [diff] [blame] | 139 | <!-- Accept inbound NFC URLs at a low priority --> |
| 140 | <intent-filter android:priority="-101"> |
| 141 | <action android:name="android.nfc.action.NDEF_DISCOVERED" /> |
| 142 | <category android:name="android.intent.category.DEFAULT" /> |
| 143 | <data android:scheme="http" /> |
| 144 | <data android:scheme="https" /> |
| 145 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 146 | <!-- The maps app is a much better experience, so it's not |
| 147 | worth having this at all... especially for a demo! |
| 148 | <intent-filter android:label="Map In Browser"> |
| 149 | <action android:name="android.intent.action.VIEW" /> |
| 150 | <category android:name="android.intent.category.DEFAULT" /> |
| 151 | <data android:mimeType="vnd.android.cursor.item/postal-address" /> |
| 152 | </intent-filter> |
| 153 | --> |
| 154 | <intent-filter> |
| 155 | <action android:name="android.intent.action.WEB_SEARCH" /> |
| 156 | <category android:name="android.intent.category.DEFAULT" /> |
| 157 | <category android:name="android.intent.category.BROWSABLE" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 158 | </intent-filter> |
| 159 | <intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 160 | <action android:name="android.intent.action.MEDIA_SEARCH" /> |
| 161 | <category android:name="android.intent.category.DEFAULT" /> |
| 162 | </intent-filter> |
| 163 | <intent-filter> |
| 164 | <action android:name="android.intent.action.SEARCH" /> |
| 165 | <category android:name="android.intent.category.DEFAULT" /> |
| 166 | </intent-filter> |
| 167 | <meta-data android:name="android.app.searchable" |
| 168 | android:resource="@xml/searchable" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 169 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 170 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 171 | <activity android:name="ShortcutActivity" |
Michael Kolb | 801ecb7 | 2010-08-25 12:57:38 -0700 | [diff] [blame] | 172 | android:theme="@style/ShortcutTheme" |
Romain Guy | db6c391 | 2009-03-24 18:08:40 -0700 | [diff] [blame] | 173 | android:label="@string/shortcut_bookmark" |
Ying Wang | 79697cb | 2010-11-23 11:17:46 -0800 | [diff] [blame] | 174 | android:icon="@mipmap/ic_launcher_shortcut_browser_bookmark"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 175 | <intent-filter> |
| 176 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 177 | <category android:name="android.intent.category.DEFAULT" /> |
| 178 | </intent-filter> |
Michael Kolb | 801ecb7 | 2010-08-25 12:57:38 -0700 | [diff] [blame] | 179 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 180 | |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 181 | <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences" |
| 182 | android:parentActivityName=".BrowserActivity" |
| 183 | android:theme="@style/SettingsTheme"> |
John Reck | 7b182d7 | 2011-07-08 10:30:53 -0700 | [diff] [blame] | 184 | <intent-filter> |
| 185 | <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" /> |
| 186 | <category android:name="android.intent.category.DEFAULT" /> |
| 187 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 188 | </activity> |
| 189 | |
Tarun Nainani | f03c796 | 2015-06-03 11:38:33 -0700 | [diff] [blame^] | 190 | <activity android:name=".preferences.LegalPreviewActivity" |
| 191 | android:parentActivityName=".BrowserActivity" |
| 192 | android:theme="@style/SettingsTheme"> |
| 193 | </activity> |
| 194 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 195 | <activity android:name="BookmarkSearch" |
Bjorn Bringert | e90ede4 | 2009-04-29 22:33:52 +0100 | [diff] [blame] | 196 | android:label="@string/bookmarks_search" |
| 197 | android:stateNotNeeded="true" |
| 198 | android:theme="@android:style/Theme.NoDisplay" |
| 199 | android:excludeFromRecents="true"> |
| 200 | <intent-filter> |
| 201 | <action android:name="android.intent.action.SEARCH" /> |
| 202 | <category android:name="android.intent.category.DEFAULT" /> |
| 203 | </intent-filter> |
| 204 | <meta-data android:name="android.app.searchable" |
| 205 | android:resource="@xml/bookmarks_searchable" /> |
| 206 | </activity> |
| 207 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 208 | <activity android:name="AddBookmarkPage" android:label="@string/bookmarks_add_page" |
John Reck | 9d27ff5 | 2011-02-11 17:47:54 -0800 | [diff] [blame] | 209 | android:theme="@style/DialogWhenLarge" |
John Reck | af58d39 | 2012-05-22 17:47:06 -0700 | [diff] [blame] | 210 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 211 | android:windowSoftInputMode="adjustResize"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 212 | <intent-filter> |
| 213 | <action android:name="android.intent.action.INSERT" /> |
| 214 | <category android:name="android.intent.category.DEFAULT" /> |
| 215 | <data android:mimeType="vnd.android.cursor.dir/bookmark"/> |
| 216 | </intent-filter> |
| 217 | </activity> |
| 218 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 219 | <activity android:name="DownloadSettings" android:label="@string/download_settings_title" |
luxiaol | 62677b0 | 2013-07-22 07:54:49 +0800 | [diff] [blame] | 220 | android:theme="@style/DialogWhenLarge" |
| 221 | android:launchMode="singleTask" |
| 222 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 223 | android:windowSoftInputMode="adjustResize"> |
| 224 | <intent-filter> |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 225 | <action android:name="android.intent.action.BROWSERDOWNLOAD" /> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 226 | <category android:name="android.intent.category.DEFAULT" /> |
luxiaol | 62677b0 | 2013-07-22 07:54:49 +0800 | [diff] [blame] | 227 | </intent-filter> |
| 228 | </activity> |
John Reck | d3e4d5b | 2011-07-13 15:48:43 -0700 | [diff] [blame] | 229 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 230 | <!-- For creating new folder in bookmarks page --> |
| 231 | <activity android:name="AddBookmarkFolder" android:label="@string/save_bookmark_folder" |
luxiaol | dbe4a62 | 2013-07-19 17:14:06 +0800 | [diff] [blame] | 232 | android:theme="@style/DialogWhenLarge" |
| 233 | android:configChanges="orientation|keyboardHidden|screenSize"> |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 234 | <intent-filter> |
| 235 | <category android:name="android.intent.category.DEFAULT" /> |
| 236 | <data android:mimeType="vnd.android.cursor.dir/bookmark"/> |
| 237 | </intent-filter> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 238 | </activity> |
| 239 | |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 240 | <activity android:name="ComboViewActivity" |
| 241 | android:theme="@style/ComboViewTheme"> |
luxiaol | dbe4a62 | 2013-07-19 17:14:06 +0800 | [diff] [blame] | 242 | </activity> |
| 243 | |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 244 | <!-- Bookmark thumbnail homescreen widget --> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 245 | <receiver |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 246 | android:name=".widget.BookmarkThumbnailWidgetProvider" |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 247 | android:label="@string/bookmarks"> |
| 248 | <intent-filter> |
| 249 | <action |
| 250 | android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
John Reck | df63d2f | 2010-10-29 11:42:55 -0700 | [diff] [blame] | 251 | <action |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 252 | android:name="com.android.browser.BOOKMARK_APPWIDGET_UPDATE" /> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 253 | </intent-filter> |
| 254 | <meta-data |
| 255 | android:name="android.appwidget.provider" |
John Reck | 1537b77 | 2011-01-11 15:36:01 -0800 | [diff] [blame] | 256 | android:resource="@xml/bookmarkthumbnailwidget_info" /> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 257 | </receiver> |
| 258 | <service |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 259 | android:name=".widget.BookmarkThumbnailWidgetService" |
Winson Chung | 899cdf4 | 2011-01-18 15:24:44 -0800 | [diff] [blame] | 260 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 261 | android:exported="false" /> |
John Reck | 99c6d33 | 2011-02-01 12:57:06 -0800 | [diff] [blame] | 262 | <receiver |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 263 | android:name=".widget.BookmarkWidgetProxy" |
John Reck | 99c6d33 | 2011-02-01 12:57:06 -0800 | [diff] [blame] | 264 | android:exported="false" /> |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 265 | <activity android:name=".widget.BookmarkWidgetConfigure" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 266 | android:theme="@style/DialogWhenLarge"> |
John Reck | 9b8cd1e | 2011-05-25 18:14:01 -0700 | [diff] [blame] | 267 | <intent-filter> |
| 268 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/> |
| 269 | </intent-filter> |
| 270 | </activity> |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 271 | <!-- add or edit my navigation activity --> |
| 272 | <activity android:name=".mynavigation.AddMyNavigationPage" |
| 273 | android:label="@string/my_navigation_page_title" |
| 274 | android:configChanges="orientation|keyboardHidden" |
| 275 | android:windowSoftInputMode="stateHidden"> |
| 276 | </activity> |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 277 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 278 | <!-- Makes .BrowserActivity the search target for any activity in Browser --> |
| 279 | <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" /> |
| 280 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 281 | <receiver android:name=".OpenDownloadReceiver"> |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 282 | <intent-filter> |
| 283 | <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/> |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 284 | </intent-filter> |
| 285 | </receiver> |
John Reck | bafe58a | 2011-01-11 10:26:02 -0800 | [diff] [blame] | 286 | |
| 287 | <!-- For custom home pages (like most visited) --> |
| 288 | <provider |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 289 | android:name=".homepages.HomeProvider" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 290 | android:authorities="{{ package_name }}.home" |
yanglv | 960bcd6 | 2013-10-23 16:40:25 +0800 | [diff] [blame] | 291 | android:grantUriPermissions="true" |
John Reck | bafe58a | 2011-01-11 10:26:02 -0800 | [diff] [blame] | 292 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 293 | android:exported="false" /> |
John Reck | 267b6af | 2011-01-19 10:15:47 -0800 | [diff] [blame] | 294 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 295 | <receiver android:name=".AccountsChangedReceiver"> |
John Reck | 5a77537 | 2011-06-17 14:27:24 -0700 | [diff] [blame] | 296 | <intent-filter> |
| 297 | <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /> |
| 298 | </intent-filter> |
| 299 | </receiver> |
| 300 | |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 301 | <receiver android:name=".MessagesReceiver"> |
| 302 | <intent-filter> |
| 303 | <action android:name="com.android.mms.transaction.MESSAGE_RECEIVED" /> |
| 304 | </intent-filter> |
| 305 | </receiver> |
| 306 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 307 | <receiver android:name=".PreloadRequestReceiver" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 308 | android:permission="{{ package_name }}.permission.PRELOAD" > |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 309 | <intent-filter> |
| 310 | <action android:name="android.intent.action.PRELOAD"/> |
| 311 | <data android:scheme="http" /> |
| 312 | </intent-filter> |
| 313 | </receiver> |
| 314 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 315 | <provider android:name=".provider.SnapshotProvider" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 316 | android:authorities="{{ package_name }}.snapshots" |
John Reck | 8cc9235 | 2011-07-06 17:41:52 -0700 | [diff] [blame] | 317 | android:exported="false" /> |
Vivek Sekhar | ce2a483 | 2014-03-26 13:26:53 -0700 | [diff] [blame] | 318 | <provider |
| 319 | android:name=".provider.MyNavigationProvider" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 320 | android:authorities="{{ package_name }}.mynavigation" |
Axesh R. Ajmera | 2e24124 | 2014-05-19 15:53:38 -0700 | [diff] [blame] | 321 | android:exported="false" |
| 322 | android:grantUriPermissions="true"/> |
John Reck | 8cc9235 | 2011-07-06 17:41:52 -0700 | [diff] [blame] | 323 | |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 324 | {% set num_sandboxed_services = 20 %} |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 325 | <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 326 | android:value="{{ num_sandboxed_services }}"/> |
| 327 | {% for i in range(num_sandboxed_services) %} |
| 328 | <service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}" |
| 329 | android:process=":sandboxed_process{{ i }}" |
Bijan Amirzada | 9b1e988 | 2014-02-26 17:15:46 -0800 | [diff] [blame] | 330 | android:isolatedProcess="true" |
| 331 | android:exported="false" /> |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 332 | {% endfor %} |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 333 | |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 334 | {% set num_privileged_services = 3 %} |
| 335 | <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES" |
| 336 | android:value="{{ num_privileged_services }}"/> |
| 337 | {% for i in range(num_privileged_services) %} |
| 338 | <service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}" |
| 339 | android:process=":privileged_process{{ i }}" |
| 340 | android:isolatedProcess="false" |
Bijan Amirzada | 9b1e988 | 2014-02-26 17:15:46 -0800 | [diff] [blame] | 341 | android:exported="false" /> |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 342 | {% endfor %} |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 343 | |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 344 | |
Vivek Sekhar | 29e968b | 2015-03-19 15:35:49 -0700 | [diff] [blame] | 345 | <!-- Provider for FileProvider. --> |
| 346 | <provider android:name="android.support.v4.content.FileProvider" |
Tarun Nainani | 9f0039d | 2015-05-01 15:52:05 -0700 | [diff] [blame] | 347 | android:authorities="{{ package_name }}.FileProvider" |
Vivek Sekhar | 29e968b | 2015-03-19 15:35:49 -0700 | [diff] [blame] | 348 | android:exported="false" |
| 349 | android:grantUriPermissions="true"> |
| 350 | <meta-data android:name="android.support.FILE_PROVIDER_PATHS" |
| 351 | android:resource="@xml/file_paths" /> |
| 352 | </provider> |
| 353 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 354 | </application> |
| 355 | |
Vivek Sekhar | 0989b45 | 2014-08-01 12:30:35 -0700 | [diff] [blame] | 356 | <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 357 | |
Bijan Amirzada | 9b1e988 | 2014-02-26 17:15:46 -0800 | [diff] [blame] | 358 | <uses-feature android:name="android.hardware.location.gps" android:required="false" /> |
| 359 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 360 | </manifest> |