1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
7 Note: This is a jinja2 template, processed at build time into the final manifest.
9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden
10 by a child template that "extends" this file.
13 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
14 xmlns:tools="http://schemas.android.com/tools"
15 package="{{ manifest_package }}"
16 tools:ignore="MissingVersion">
17 <!-- android:versionCode and android:versionName is set through gyp. See build/common.gypi -->
19 <uses-sdk android:minSdkVersion="{{min_sdk_version}}" android:targetSdkVersion="{{target_sdk_version}}" />
20 <uses-feature android:glEsVersion="0x00020000" />
22 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
23 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
24 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
27 Enable Bluetooth permission via uses-permission in tip of tree builds
28 only for ease of development on Android L and earlier. For consumer
29 channels use "runtime permission" uses-permission-sdk-m which provides
30 permission on Android M and later without a prompt.
32 {% if channel in ['default'] %}
33 <uses-permission android:name="android.permission.BLUETOOTH"/>
34 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
36 <uses-permission-sdk-m android:name="android.permission.BLUETOOTH"/>
37 <uses-permission-sdk-m android:name="android.permission.BLUETOOTH_ADMIN"/>
39 <uses-permission android:name="android.permission.CAMERA" />
40 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
41 <uses-permission android:name="android.permission.INTERNET"/>
42 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
43 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
44 <uses-permission android:name="android.permission.NFC"/>
45 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
46 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
47 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
48 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
49 <uses-permission android:name="android.permission.VIBRATE"/>
50 <uses-permission android:name="android.permission.WAKE_LOCK"/>
51 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
52 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
54 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" android:protectionLevel="signature" />
55 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKMARK_FOLDERS" android:protectionLevel="signatureOrSystem" />
56 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protectionLevel="signatureOrSystem" />
57 <!-- Only chrome can receive the messages and registration result -->
58 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE"
59 android:protectionLevel="signature" />
60 <permission android:name="{{ manifest_package }}.permission.DEBUG"
61 android:label="Debug web pages"
62 android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
63 android:protectionLevel="signature" />
65 <uses-permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE" />
66 <uses-permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKMARK_FOLDERS" />
67 <uses-permission android:name="{{ manifest_package }}.TOS_ACKED" />
69 <uses-permission android:name="com.chrome.permission.DEVICE_EXTRAS" />
70 <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
71 <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
72 <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
73 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
75 {% block extra_uses_permissions %}
78 <!-- We may use GPS but it's not required -->
79 <uses-feature android:name="android.hardware.location.gps" android:required="false" />
80 <uses-feature android:name="android.hardware.camera" android:required="false" />
83 android.permission.RECORD_AUDIO makes this implied, however we don't
86 <uses-feature android:name="android.hardware.microphone" android:required="false" />
88 The app is usable with keyboard/mouse. This feature is implicitly true for
89 all applications and needs to be disabled manually.
91 <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
93 <!-- Set android:largeHeap to "true" to allow more than the default
94 Java heap limit (32Mb on Nexus S, 48Mb on Xoom). -->
95 <application android:name="{% block application_name %}org.chromium.chrome.browser.ChromeApplication{% endblock %}"
96 android:icon="@mipmap/app_icon"
97 android:label="@string/app_name"
98 android:largeHeap="false"
99 android:allowBackup="false"
100 android:supportsRtl="true"
101 {% block extra_application_attributes %}{% endblock %}>
103 <!-- Samsung MultiWindow Support -->
104 <meta-data android:name="com.samsung.android.sdk.multiwindow.enable"
105 android:value="true" />
106 <meta-data android:name="com.samsung.android.sdk.multiwindow.multiinstance.enable"
107 android:value="true" />
108 <meta-data android:name="com.samsung.android.sdk.multiwindow.multiinstance.launchmode"
109 android:value="singleTask" />
110 <meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable"
111 android:value="true"/>
113 {% if channel in ['dev', 'canary', 'default'] %}
114 <meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
116 {% if configuration_policy == '1' %}
117 <meta-data android:name="android.content.APP_RESTRICTIONS"
118 android:resource="@xml/app_restrictions"/>
121 <!-- Note: All activities directly or indirectly derived from ChromeActivity
122 must specify android:hardwareAccelerated="false".
124 Since this activity (shown in the launcher) and the application
125 (shown in Android's Settings/Apps list) share the same label, we
126 do not specify one here to allow it to inherit from the app. -->
127 <activity android:name="org.chromium.chrome.browser.document.ChromeLauncherActivity"
128 android:theme="@android:style/Theme.Translucent.NoTitleBar">
130 <activity-alias android:name="com.google.android.apps.chrome.Main"
131 android:targetActivity="org.chromium.chrome.browser.document.ChromeLauncherActivity"
132 android:exported="true">
134 <action android:name="android.intent.action.MAIN" />
135 <category android:name="android.intent.category.DEFAULT" />
136 <category android:name="android.intent.category.LAUNCHER" />
137 <category android:name="android.intent.category.BROWSABLE" />
138 <category android:name="android.intent.category.APP_BROWSER" />
139 <category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
140 {% if channel in ['dev', 'canary', 'default'] %}
141 <category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
144 <!-- Matches the common case of intents with no MIME type.
145 Make sure to keep in sync with the next filter. -->
147 <action android:name="android.intent.action.VIEW" />
148 <category android:name="android.intent.category.DEFAULT" />
149 <category android:name="android.intent.category.BROWSABLE" />
150 {% if channel in ['stable', 'default'] %}<data android:scheme="googlechrome" />{% endif %}
151 <data android:scheme="http" />
152 <data android:scheme="https" />
153 <data android:scheme="about" />
154 <data android:scheme="javascript" />
156 <!-- Same filter as above but with MIME types. Intents that
157 do not specify a MIME type won't match. -->
159 <action android:name="android.intent.action.VIEW" />
160 <category android:name="android.intent.category.DEFAULT" />
161 <category android:name="android.intent.category.BROWSABLE" />
162 {% if channel in ['stable', 'default'] %}<data android:scheme="googlechrome" />{% endif %}
163 <data android:scheme="http" />
164 <data android:scheme="https" />
165 <data android:scheme="about" />
166 <data android:scheme="content" />
167 <data android:scheme="javascript" />
168 <data android:mimeType="text/html"/>
169 <data android:mimeType="text/plain"/>
170 <data android:mimeType="application/xhtml+xml"/>
172 <!-- MHTML support, used for snapshots -->
174 <action android:name="android.intent.action.VIEW" />
175 <category android:name="android.intent.category.DEFAULT" />
176 <data android:scheme="file" android:mimeType="multipart/related"/>
179 <action android:name="android.intent.action.MEDIA_SEARCH" />
180 <category android:name="android.intent.category.DEFAULT" />
183 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
184 <category android:name="android.intent.category.DEFAULT" />
187 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
188 <category android:name="android.intent.category.DEFAULT" />
189 <data android:scheme="http" />
190 <data android:scheme="https" />
193 <action android:name="android.intent.action.SEARCH" />
196 <action android:name="com.sec.android.airview.HOVER" />
198 <meta-data android:name="android.app.searchable"
199 android:resource="@xml/searchable" />
201 <activity android:name="org.chromium.chrome.browser.document.DocumentActivity"
202 android:exported="false"
203 android:theme="@style/MainTheme"
204 android:windowSoftInputMode="adjustResize"
205 android:taskAffinity=""
206 android:persistableMode="persistAcrossReboots"
207 android:autoRemoveFromRecents="false"
208 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
209 android:hardwareAccelerated="false">
211 <activity-alias android:name="com.google.android.apps.chrome.document.DocumentActivity"
212 android:targetActivity="org.chromium.chrome.browser.document.DocumentActivity"
213 android:exported="false"/>
214 <activity android:name="org.chromium.chrome.browser.document.IncognitoDocumentActivity"
215 android:icon="@mipmap/incognito_app_icon"
216 android:exported="false"
217 android:theme="@style/IncognitoTheme"
218 android:windowSoftInputMode="adjustResize"
219 android:taskAffinity=""
220 android:persistableMode="persistNever"
221 android:autoRemoveFromRecents="false"
222 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
223 android:hardwareAccelerated="false">
225 <activity-alias android:name="com.google.android.apps.chrome.document.IncognitoDocumentActivity"
226 android:targetActivity="org.chromium.chrome.browser.document.IncognitoDocumentActivity"
227 android:exported="false"/>
228 <activity android:name="org.chromium.chrome.browser.customtabs.CustomTabActivity"
229 android:theme="@style/MainTheme"
230 android:exported="false"
231 android:windowSoftInputMode="adjustResize"
232 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
233 android:hardwareAccelerated="false">
235 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity"
236 android:theme="@style/MainTheme"
237 android:exported="false"
238 android:windowBackground="@drawable/window_background"
239 android:windowSoftInputMode="adjustResize"
240 android:launchMode="singleTask"
241 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
242 android:hardwareAccelerated="false">
244 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiInstanceChromeTabbedActivity"
245 android:theme="@style/MainTheme"
246 android:exported="false"
247 android:windowBackground="@drawable/window_background"
248 android:windowSoftInputMode="adjustResize"
249 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
250 android:hardwareAccelerated="false">
252 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseActivity"
253 android:theme="@style/MainTheme"
254 android:autoRemoveFromRecents="true">
256 <activity android:name="org.chromium.chrome.browser.bookmark.ManageBookmarkActivity"
257 android:theme="@style/DialogWhenLargeHolo"
258 android:label="@string/save_bookmark"
259 android:windowSoftInputMode="stateHidden|adjustPan"
260 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc">
262 <action android:name="android.intent.action.VIEW" />
263 <category android:name="android.intent.category.DEFAULT" />
264 <category android:name="android.intent.category.BROWSABLE" />
265 <data android:scheme="chrome" android:host="editbookmark" />
268 <!-- This is sent by the BrowserProviderProxy as a result of
269 calls to android.provider.Browser.saveBookmark(). -->
270 <action android:name="{{ manifest_package }}.ADDBOOKMARK" />
271 <category android:name="android.intent.category.DEFAULT" />
274 <activity android:name="org.chromium.chrome.browser.firstrun.FirstRunActivity"
275 android:theme="@style/DialogWhenLarge"
276 android:label="@string/fre_label"
277 android:launchMode="singleTop"
278 android:windowSoftInputMode="stateHidden|adjustPan"
279 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc">
281 <activity android:name="org.chromium.chrome.browser.preferences.Preferences"
282 android:theme="@style/PreferencesTheme"
283 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
284 android:label="@string/preferences"
285 android:exported="false">
287 <activity android:name="org.chromium.chrome.browser.EmbedContentViewActivity"
288 android:theme="@style/ThemeWithActionBar"
289 android:hardwareAccelerated="false"
290 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc">
292 <activity android:name="org.chromium.chrome.browser.prerender.PrerenderAPITestActivity"
293 android:theme="@style/MainTheme"
294 android:exported="true">
296 <activity android:name="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkActivity"
297 android:theme="@style/EnhancedBookmarkDialog"
298 android:windowSoftInputMode="stateAlwaysHidden"
299 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc" >
301 <activity android:name="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkEditActivity"
302 android:theme="@style/EnhancedBookmarkDialogWhite"
303 android:label="@string/edit_bookmark"
304 android:windowSoftInputMode="stateHidden"
305 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc" >
307 <activity android:name="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkAddEditFolderActivity"
308 android:theme="@style/EnhancedBookmarkDialogWhite"
309 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc" >
311 <activity android:name="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkFolderSelectActivity"
312 android:theme="@style/EnhancedBookmarkDialogWhite"
313 android:windowSoftInputMode="stateAlwaysHidden"
314 android:label="@string/enhanced_bookmark_choose_folder"
315 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc" >
317 <activity android:name="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSigninActivity"
318 android:theme="@style/EnhancedBookmarkDialogWhite"
319 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc" >
323 Activities for webapps.
324 TODO(dfalcantara): Remove the aliases for the WebappActivities once we're pretty sure
325 that users don't have any instances of the original Activity still
328 <activity android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
329 android:theme="@android:style/Theme.NoDisplay"
330 android:taskAffinity=""
331 android:excludeFromRecents="true">
333 <action android:name="com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP" />
334 <category android:name="android.intent.category.DEFAULT" />
337 <activity-alias android:name="com.google.android.apps.chrome.webapps.WebappManager"
338 android:targetActivity="org.chromium.chrome.browser.webapps.WebappLauncherActivity">
340 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivity"
341 android:theme="@style/WebappTheme"
342 android:label="@string/webapp_activity_title"
343 android:documentLaunchMode="intoExisting"
344 android:windowSoftInputMode="adjustResize"
345 android:persistableMode="persistNever"
346 android:hardwareAccelerated="false"
347 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc">
349 <activity-alias android:name="com.google.android.apps.chrome.webapps.WebappActivity"
350 android:targetActivity="org.chromium.chrome.browser.webapps.WebappActivity"
351 android:label="@string/webapp_activity_title">
353 {% for i in range(10) %}
354 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivity{{ i }}"
355 android:theme="@style/WebappTheme"
356 android:icon="@mipmap/app_shortcut_icon"
357 android:label="@string/webapp_activity_title"
358 android:launchMode="singleTask"
359 android:windowSoftInputMode="adjustResize"
360 android:persistableMode="persistNever"
361 android:hardwareAccelerated="false"
362 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{{ i }}"
363 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc">
365 <activity-alias android:name="com.google.android.apps.chrome.webapps.WebappActivity{{ i }}"
366 android:targetActivity="org.chromium.chrome.browser.webapps.WebappActivity{{ i }}"
367 android:icon="@mipmap/app_shortcut_icon"
368 android:label="@string/webapp_activity_title">
372 <activity android:name="org.chromium.chrome.browser.media.remote.ExpandedControllerActivity"
373 android:theme="@style/MainTheme"
374 android:label="Chrome.ExpandedControllerActivity"
375 android:hardwareAccelerated="true"
376 android:launchMode="singleTask"
377 android:noHistory="true"
378 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc"
379 android:excludeFromRecents="true">
382 <activity android:name="org.chromium.chrome.browser.childaccounts.ResetDataActivity"
383 android:theme="@android:style/Theme.Translucent.NoTitleBar"
384 android:exported="true"
385 android:excludeFromRecents="true">
388 <!-- This activity is started along with IncognitoDocumentActivity, so it also must
389 disable hardware acceleration. Besides, it doesn't have any UI. -->
390 <activity android:name="org.chromium.chrome.browser.document.CipherKeyActivity"
391 android:launchMode="singleInstance"
392 android:theme="@android:style/Theme.Translucent.NoTitleBar"
393 android:excludeFromRecents="true"
394 android:hardwareAccelerated="false">
397 <!-- This activity is used to restart the main Chrome process. Should never be exported. -->
398 <activity android:name="org.chromium.chrome.browser.BrowserRestartActivity"
399 android:launchMode="singleInstance"
400 android:exported="false"
401 android:theme="@android:style/Theme.NoDisplay"
402 android:excludeFromRecents="true"
403 android:process=":browser_restart_process">
406 <!-- Providers for chrome data. -->
407 <provider android:name="org.chromium.chrome.browser.ChromeBrowserProvider"
408 android:authorities="{{ manifest_package }}.ChromeBrowserProvider;{{ manifest_package }}.browser;{{ manifest_package }}"
409 android:exported="true">
410 <path-permission android:path="/bookmarks/search_suggest_query"
411 android:readPermission="android.permission.GLOBAL_SEARCH" />
414 <!-- Provider for FileProvider. -->
415 <provider android:name="org.chromium.chrome.browser.util.CompatibilityFileProvider"
416 android:authorities="{{ manifest_package }}.FileProvider"
417 android:exported="false"
418 android:grantUriPermissions="true">
419 <meta-data android:name="android.support.FILE_PROVIDER_PATHS"
420 android:resource="@xml/file_paths" />
423 <!-- Sync adapter for browser invalidation. -->
424 <service android:name="org.chromium.chrome.browser.invalidation.ChromeBrowserSyncAdapterService"
425 android:exported="false">
427 <action android:name="android.content.SyncAdapter" />
429 <meta-data android:name="android.content.SyncAdapter"
430 android:resource="@xml/syncadapter" />
433 <!-- Broadcast receiver that will be notified of account changes -->
434 <receiver android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver">
436 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
440 <!-- Precache service. -->
441 <service android:name="org.chromium.chrome.browser.precache.PrecacheService"
442 android:exported="false" />
443 <receiver android:name="org.chromium.chrome.browser.precache.PrecacheServiceLauncher">
445 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
446 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
447 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
451 <receiver android:name="org.chromium.chrome.browser.firstrun.ToSAckedReceiver"
452 android:permission="{{ manifest_package }}.TOS_ACKED">
454 <action android:name="{{ manifest_package }}.TOS_ACKED" />
458 <activity android:name="org.chromium.chrome.browser.bookmark.ShortcutActivity"
459 android:enabled="{{ 'true' if channel in ['stable', 'default'] else 'false' }}"
460 android:label="@string/bookmark_shortcut_name"
461 android:icon="@mipmap/bookmark_shortcut_icon"
462 android:theme="@style/ThemeWithActionBar"
463 android:hardwareAccelerated="true">
466 <action android:name="android.intent.action.CREATE_SHORTCUT" />
467 <category android:name="android.intent.category.DEFAULT" />
471 <receiver android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider"
472 android:enabled="{{ 'true' if channel in ['stable', 'default'] else 'false' }}"
473 android:label="@string/bookmarks">
475 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
476 <action android:name=".BOOKMARK_APPWIDGET_UPDATE" />
479 android:name="android.appwidget.provider"
480 android:resource="@xml/bookmark_thumbnail_widget_info" />
482 <service android:name="org.chromium.chrome.browser.bookmarkswidget.BookmarkThumbnailWidgetService"
483 android:permission="android.permission.BIND_REMOTEVIEWS"
484 android:exported="false" />
485 <receiver android:name="org.chromium.chrome.browser.bookmarkswidget.BookmarkWidgetProxy"
486 android:exported="false" />
488 <!-- Receiver for GCM messages. Rebroadcasts them locally for sync and cloudprint. -->
489 <receiver android:name="com.google.ipc.invalidation.external.client.contrib.MultiplexingGcmListener$GCMReceiver"
490 android:exported="true"
491 android:permission="com.google.android.c2dm.permission.SEND">
493 <action android:name="com.google.android.c2dm.intent.RECEIVE" />
494 <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
495 <category android:name="{{ manifest_package }}"/>
498 <service android:name="com.google.ipc.invalidation.external.client.contrib.MultiplexingGcmListener"
499 android:exported="false">
500 <meta-data android:name="sender_ids"
501 android:value="cloudprint.c2dm@gmail.com,ipc.invalidation@gmail.com"/>
504 <!-- Notification service for sync. -->
505 <meta-data android:name="ipc.invalidation.ticl.listener_service_class"
506 android:value="org.chromium.components.invalidation.InvalidationClientService"/>
507 <service android:name="org.chromium.components.invalidation.InvalidationClientService"
508 android:exported="false">
510 <action android:name="com.google.ipc.invalidation.AUTH_TOKEN_REQUEST"/>
513 <service android:name="com.google.ipc.invalidation.ticl.android2.TiclService"
514 android:exported="false"/>
515 <service android:name="com.google.ipc.invalidation.ticl.android2.channel.AndroidMessageSenderService"
516 android:exported="false"/>
517 <receiver android:name="com.google.ipc.invalidation.ticl.android2.AndroidInternalScheduler$AlarmReceiver"
518 android:exported="false"/>
519 <receiver android:name="com.google.ipc.invalidation.external.client2.contrib.AndroidListener$AlarmReceiver"
520 android:exported="false"/>
522 <!-- Notification service multiplexed GCM receiver -->
523 <service android:name="com.google.ipc.invalidation.ticl.android2.channel.AndroidMessageReceiverService"
524 android:exported="false"
525 android:enabled="true"/>
526 <receiver android:name="com.google.ipc.invalidation.ticl.android2.channel.AndroidMessageReceiverService$Receiver"
527 android:exported="false">
529 <action android:name="com.google.ipc.invalidation.gcmmplex.EVENT" />
533 <!-- GCMDriver multiplexed GCM receiver -->
534 <service android:name="org.chromium.chrome.browser.services.gcm.GCMListener"
535 android:exported="false"/>
536 <receiver android:name="org.chromium.chrome.browser.services.gcm.GCMListener$Receiver"
537 android:exported="false">
539 <action android:name="com.google.ipc.invalidation.gcmmplex.EVENT" />
543 <!-- Android Notification service listener -->
544 <service android:name="org.chromium.chrome.browser.notifications.NotificationService"
545 android:exported="false"/>
546 <receiver android:name="org.chromium.chrome.browser.notifications.NotificationService$Receiver"
547 android:exported="false">
549 <action android:name="org.chromium.chrome.browser.notifications.CLICK_NOTIFICATION" />
550 <action android:name="org.chromium.chrome.browser.notifications.CLOSE_NOTIFICATION" />
554 <!-- Service Worker Background Sync service listener -->
555 <service android:name="org.chromium.content.browser.BackgroundSyncLauncherService"
556 android:exported="false" />
557 <receiver android:name="org.chromium.content.browser.BackgroundSyncLauncherService$Receiver">
559 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
563 <service android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService"
564 android:exported="true"
565 tools:ignore="ExportedService" />
566 <service android:name="org.chromium.chrome.browser.customtabs.CustomTabsConnectionService"
567 android:exported="true"
568 tools:ignore="ExportedService">
570 <action android:name="android.support.customtabs.action.CustomTabsService" />
573 <service android:name="org.chromium.chrome.browser.crash.LogcatExtractionService"
574 android:exported="false"/>
575 <service android:name="org.chromium.chrome.browser.crash.MinidumpPreparationService"
576 android:exported="false"/>
577 <service android:name="org.chromium.chrome.browser.crash.MinidumpUploadService"
578 android:exported="false"/>
580 <service android:name="org.chromium.chrome.browser.omaha.OmahaClient"
581 android:exported="false"/>
583 <!-- The following service entries exist in order to allow us to
584 start more than one sandboxed process. -->
586 <!-- NOTE: If you change the value of "android:process" for the below services,
587 you also need to update kHelperProcessExecutableName in chrome_constants.cc. -->
588 {% set num_sandboxed_services = 20 %}
589 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
590 android:value="{{ num_sandboxed_services }}"/>
591 {% for i in range(num_sandboxed_services) %}
592 <service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
593 android:process=":sandboxed_process{{ i }}"
594 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE"
595 android:isolatedProcess="true"
596 android:exported="false" />
599 {% set num_privileged_services = 3 %}
600 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
601 android:value="{{ num_privileged_services }}"/>
602 {% for i in range(num_privileged_services) %}
603 <service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
604 android:process=":privileged_process{{ i }}"
605 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE"
606 android:isolatedProcess="false"
607 android:exported="false" />
610 <receiver android:name="org.chromium.chrome.browser.download.OpenDownloadReceiver">
612 <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/>
616 <receiver android:name="org.chromium.base.PowerStatusReceiver">
618 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
619 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
623 <service android:name="org.chromium.chrome.browser.media.remote.NotificationTransportControl$ListenerService" />
625 <!-- Receiver for lock screen input when casting -->
626 <receiver android:name="org.chromium.chrome.browser.media.remote.LockScreenTransportControl$MediaButtonIntentReceiver"/>
628 <service android:name="org.chromium.chrome.browser.media.MediaNotificationService"
629 android:exported="false"/>
630 <service android:name="org.chromium.chrome.browser.media.ui.NotificationMediaPlaybackControls$ListenerService"
631 android:exported="false"/>
633 <meta-data android:name="com.google.android.gms.version"
634 android:value="@integer/google_play_services_version" />
636 <meta-data android:name="org.chromium.content.browser.SMART_CLIP_PROVIDER"
637 android:value="org.chromium.content.browser.SmartClipProvider"/>
638 <meta-data android:name="org.chromium.components.service_tab_launcher.SERVICE_TAB_LAUNCHER"
639 android:value="org.chromium.chrome.browser.ChromeServiceTabLauncher" />
641 {% block extra_application_definitions %}
643 <!-- Media route controllers to use for remote playback (cast).
644 This is here, rather than in code, since it varies between upstream and downstream,
645 yet we need this list of classes in the notification service, which belongs upstream
646 and doesn't run the downstream startup code. The Cast code will, for each media element,
647 choose the first MediaRouteController that can play it, so the order of the list can be important.
648 The most specific MediaRouteControllers should be listed first, followed by more generic ones.
649 The downstream manifest replaces this block, and hence replaces the list of media route
650 controllers with its own list. -->
651 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYERS"
652 android:value="org.chromium.chrome.browser.media.remote.DefaultMediaRouteController"/>