blob: 696ece1fceea6b99a2539be28fc32b9d4b341c0d [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.chromium.chromecast.shell">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<application android:name="org.chromium.chromecast.shell.CastApplication"
android:icon="@mipmap/app_icon"
android:label="@string/app_name">
<activity android:name="org.chromium.chromecast.shell.CastWebContentsActivity"
android:theme="@style/CastShellTheme"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="standard"
android:screenOrientation="landscape"
android:taskAffinity=".CastWebContentsActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
android:excludeFromRecents="true"
{% if cast_build_enable_background_activities == "true" %}
android:noHistory="false">
{% else %}
android:noHistory="true">
{% endif %}
</activity>
<!-- The following service entries exist in order to allow us to
start more than one sandboxed process. -->
{% set num_sandboxed_services = 40 %}
<meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
android:value="{{ num_sandboxed_services }}"/>
{% for i in range(num_sandboxed_services) %}
<service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
android:process=":sandboxed_process{{ i }}"
android:isolatedProcess="true"
android:exported="false" />
{% endfor %}
{% set num_privileged_services = 3 %}
<meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
android:value="{{ num_privileged_services }}"/>
{% for i in range(num_privileged_services) %}
<service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
android:process=":privileged_process{{ i }}"
android:isolatedProcess="false"
android:exported="false" />
{% endfor %}
</application>
</manifest>