Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / shell / android / shell_apk / AndroidManifest.xml.jinja2
blob8a71044487fcb7be29c71ec6ea67f58ccbc83874
1 <?xml version="1.0" encoding="utf-8"?>
3 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
9 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
10 package="org.chromium.content_shell_apk">
12 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
13 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
14 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
15 <uses-permission android:name="android.permission.CAMERA"/>
16 <uses-permission android:name="android.permission.INTERNET"/>
17 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
18 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
19 <uses-permission android:name="android.permission.VIBRATE"/>
20 <uses-permission android:name="android.permission.WAKE_LOCK"/>
21 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
23 <application android:name="ContentShellApplication"
24 android:icon="@mipmap/app_icon"
25 android:label="Content Shell">
26 <activity android:name="ContentShellActivity"
27 android:launchMode="singleTask"
28 android:theme="@android:style/Theme.Holo.Light.NoActionBar"
29 android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
30 android:windowSoftInputMode="adjustResize"
31 android:hardwareAccelerated="true">
32 <intent-filter>
33 <action android:name="android.intent.action.MAIN"/>
34 <category android:name="android.intent.category.LAUNCHER"/>
35 </intent-filter>
36 </activity>
37 <!-- The following service entries exist in order to allow us to
38 start more than one sandboxed process. -->
40 <!-- NOTE: If you change the values of "android:process" for any of the below services,
41 you also need to update kHelperProcessExecutableName in chrome_constants.cc. -->
42 {% set num_sandboxed_services = 20 %}
43 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
44 android:value="{{ num_sandboxed_services }}"/>
45 {% for i in range(num_sandboxed_services) %}
46 <service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
47 android:process=":sandboxed_process{{ i }}"
48 android:isolatedProcess="true"
49 android:exported="false" />
50 {% endfor %}
52 {% set num_privileged_services = 3 %}
53 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
54 android:value="{{ num_privileged_services }}"/>
55 {% for i in range(num_privileged_services) %}
56 <service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
57 android:process=":privileged_process{{ i }}"
58 android:isolatedProcess="false"
59 android:exported="false" />
60 {% endfor %}
61 <meta-data android:name="org.chromium.content.browser.SMART_CLIP_PROVIDER"
62 android:value="org.chromium.content.browser.SmartClipProvider" />
64 <!-- Service Worker Background Sync service listener -->
65 <service android:name="org.chromium.content.browser.BackgroundSyncLauncherService"
66 android:exported="false" />
67 <receiver android:name="org.chromium.content.browser.BackgroundSyncLauncherService$Receiver">
68 <intent-filter>
69 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
70 </intent-filter>
71 </receiver>
73 </application>
74 </manifest>