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