1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (C) 2020 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *      http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20    package="com.android.captiveportallogin.tests">
21    <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29" />
22
23    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
24
25    <application android:debuggable="true">
26        <uses-library android:name="android.test.runner" />
27        <provider android:name="androidx.core.content.FileProvider"
28                  android:authorities="com.android.captiveportallogin.tests.fileprovider"
29                  android:exported="false"
30                  android:grantUriPermissions="true">
31            <meta-data
32                android:name="android.support.FILE_PROVIDER_PATHS"
33                android:resource="@xml/file_paths" />
34        </provider>
35        <activity
36            android:name="com.android.captiveportallogin.CaptivePortalLoginActivityTest$InstrumentedCaptivePortalLoginActivity"/>
37        <activity android:name="com.android.captiveportallogin.DownloadServiceTest$RequestDismissKeyguardActivity"/>
38        <activity android:name="com.android.captiveportallogin.DownloadServiceTest$OpenTextFileActivity">
39            <intent-filter>
40                <action android:name="android.intent.action.VIEW" />
41                <category android:name="android.intent.category.DEFAULT" />
42                <data android:scheme="content" />
43                <data android:mimeType="*/*" />
44                <data android:pathPattern=".*\\.testtxtfile" />
45            </intent-filter>
46        </activity>
47        <activity android:name="com.android.captiveportallogin.RequestDismissKeyguardActivity" />
48    </application>
49    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
50        android:targetPackage="com.android.captiveportallogin.tests"
51        android:label="Captive portal login tests">
52    </instrumentation>
53</manifest>
54