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.
9 <manifest xmlns:
android=
"http://schemas.android.com/apk/res/android"
10 package=
"org.chromium.content_shell_apk">
12 <uses-sdk android:
minSdkVersion=
"14" android:
targetSdkVersion=
"21" />
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.ACCESS_WIFI_STATE"/>
16 <uses-permission android:
name=
"android.permission.CAMERA"/>
17 <uses-permission android:
name=
"android.permission.INTERNET"/>
18 <uses-permission android:
name=
"android.permission.MODIFY_AUDIO_SETTINGS"/>
19 <uses-permission android:
name=
"android.permission.RECORD_AUDIO"/>
20 <uses-permission android:
name=
"android.permission.VIBRATE"/>
21 <uses-permission android:
name=
"android.permission.WAKE_LOCK"/>
22 <uses-permission android:
name=
"android.permission.WRITE_EXTERNAL_STORAGE"/>
24 <application android:
name=
"ContentShellApplication"
25 android:
icon=
"@mipmap/app_icon"
26 android:
label=
"Content Shell">
27 <activity android:
name=
"ContentShellActivity"
28 android:
launchMode=
"singleTask"
29 android:
theme=
"@android:style/Theme.Holo.Light.NoActionBar"
30 android:
configChanges=
"orientation|keyboardHidden|keyboard|screenSize"
31 android:
hardwareAccelerated=
"true">
33 <action android:
name=
"android.intent.action.MAIN"/>
34 <category android:
name=
"android.intent.category.LAUNCHER"/>
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" />
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" />
61 <meta-data android:
name=
"org.chromium.content.browser.SMART_CLIP_PROVIDER"
62 android:
value=
"org.chromium.content.browser.SmartClipProvider" />