Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chromecast / browser / android / apk / AndroidManifest.xml.jinja2
blobb977a9ddaeb649d59f42ae4068b39f185e1a64aa
1 <?xml version="1.0" encoding="utf-8"?>
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
8 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
9 package="org.chromium.chromecast.shell">
11 <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="22" />
13 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
14 <uses-permission android:name="android.permission.INTERNET"/>
15 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
16 <uses-permission android:name="android.permission.WAKE_LOCK"/>
18 <application android:name="org.chromium.chromecast.shell.CastApplication"
19 android:icon="@mipmap/app_icon"
20 android:label="@string/app_name">
21 <activity android:name="org.chromium.chromecast.shell.CastShellActivity"
22 android:theme="@style/CastShellTheme"
23 android:exported="true"
24 android:hardwareAccelerated="true"
25 android:taskAffinity=".CastShellActivity"
26 android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
27 android:excludeFromRecents="true"
28 android:noHistory="true">
29 <intent-filter>
30 <action android:name="android.intent.action.MAIN"/>
31 <category android:name="android.intent.category.LAUNCHER"/>
32 </intent-filter>
33 </activity>
35 <!-- The following service entries exist in order to allow us to
36 start more than one sandboxed process. -->
37 {% set num_sandboxed_services = 20 %}
38 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
39 android:value="{{ num_sandboxed_services }}"/>
40 {% for i in range(num_sandboxed_services) %}
41 <service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
42 android:process=":sandboxed_process{{ i }}"
43 android:isolatedProcess="true"
44 android:exported="false" />
45 {% endfor %}
47 {% set num_privileged_services = 3 %}
48 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
49 android:value="{{ num_privileged_services }}"/>
50 {% for i in range(num_privileged_services) %}
51 <service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
52 android:process=":privileged_process{{ i }}"
53 android:isolatedProcess="false"
54 android:exported="false" />
55 {% endfor %}
56 </application>
58 </manifest>