• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2015 The Chromium Authors
3     Use of this source code is governed by a BSD-style license that can be
4     found in the LICENSE file. -->
5
6<!-- package name must be unique. -->
7<manifest xmlns:android="http://schemas.android.com/apk/res/android"
8    xmlns:tools="http://schemas.android.com/tools"
9    package="org.chromium.net.test.support">
10
11    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
12    <uses-permission android:name="android.permission.INTERNET"/>
13
14    <application android:label="ChromiumNetTestSupport"
15             android:name="androidx.multidex.MultiDexApplication">
16
17        <uses-library android:name="android.test.runner" />
18
19        <!-- The android:requestLegacyExternalStorage setting is necessary to
20             work on Q+. If the target SDK version of this APK is ever updated
21             to 30 or higher, that workaround will stop working and the more
22             complicated one used by the test APKs (using app compatibility
23             changes) will need to be used instead. Note that this setting is
24             usually applied at the application level, but those do not
25             propagate to child services and the service is the thing that
26             actually reads from external storage. -->
27        <service android:name="org.chromium.net.test.EmbeddedTestServerService"
28                android:requestLegacyExternalStorage="true"
29                android:exported="true"
30                tools:ignore="ExportedService">
31            <intent-filter>
32                <action android:name="org.chromium.net.test.EMBEDDED_TEST_SERVER_SERVICE" />
33            </intent-filter>
34        </service>
35
36    </application>
37
38</manifest>
39