1<!-- 2/* 3 * Copyright 2022 Google LLC 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17--> 18<?xml version="1.0" encoding="utf-8"?> 19<manifest xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:tools="http://schemas.android.com/tools" 21 package="com.google.android.libraries.mobiledatadownload.testing" > 22 23<!-- Use min sdk of 16, but allow TestParameterInjector to override this since its min sdk is 24 --> 24<uses-sdk 25 tools:overrideLibrary="com.google.android.libraries.mobiledatadownload.testing, com.google.testing.junit.testparameterinjector" 26 android:minSdkVersion="16" /> 27 28 <uses-permission android:name="android.permission.INTERNET"/> 29 <uses-permission 30 android:name="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"/> 31 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 32 33 <!-- Permission needed to download files locally in LocalFileDownloader. --> 34 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 35 36 <!-- Needed to allow insecure HTTP protocol used by TestHttpServer. --> 37 <application android:usesCleartextTraffic="true"> 38 <!-- Explicit declaration needed to make org.apache.http present in DexPathList. --> 39 <uses-library android:name="org.apache.http.legacy" android:required="false" /> 40 </application> 41 42 <instrumentation 43 android:name="com.google.android.apps.common.testing.testrunner.Google3InstrumentationTestRunner" 44 android:targetPackage="com.google.android.libraries.mobiledatadownload.testing" /> 45</manifest> 46