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