xref: /aosp_15_r20/external/cronet/net/test/android/javatests/AndroidManifest.xml (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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        <!-- The android:requestLegacyExternalStorage setting is necessary to
18             work on Q+. If the target SDK version of this APK is ever updated
19             to 30 or higher, that workaround will stop working and the more
20             complicated one used by the test APKs (using app compatibility
21             changes) will need to be used instead. Note that this setting is
22             usually applied at the application level, but those do not
23             propagate to child services and the service is the thing that
24             actually reads from external storage. -->
25        <service android:name="org.chromium.net.test.EmbeddedTestServerService"
26                android:requestLegacyExternalStorage="true"
27                android:exported="true"
28                tools:ignore="ExportedService">
29            <intent-filter>
30                <action android:name="org.chromium.net.test.EMBEDDED_TEST_SERVER_SERVICE" />
31            </intent-filter>
32        </service>
33
34    </application>
35
36</manifest>
37