xref: /aosp_15_r20/cts/hostsidetests/appsecurity/test-apps/AppWithData/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2009 The Android Open Source Project
3*b7c941bbSAndroid Build Coastguard Worker
4*b7c941bbSAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*b7c941bbSAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*b7c941bbSAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*b7c941bbSAndroid Build Coastguard Worker
8*b7c941bbSAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*b7c941bbSAndroid Build Coastguard Worker
10*b7c941bbSAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*b7c941bbSAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*b7c941bbSAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*b7c941bbSAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*b7c941bbSAndroid Build Coastguard Worker     limitations under the License.
15*b7c941bbSAndroid Build Coastguard Worker-->
16*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17*b7c941bbSAndroid Build Coastguard Worker       package="com.android.cts.appwithdata"
18*b7c941bbSAndroid Build Coastguard Worker       android:targetSandboxVersion="2">
19*b7c941bbSAndroid Build Coastguard Worker
20*b7c941bbSAndroid Build Coastguard Worker    <!--
21*b7c941bbSAndroid Build Coastguard Worker    A simple app to test that other apps cannot access another app's private data.
22*b7c941bbSAndroid Build Coastguard Worker    This app contains a test which will create a private data file, which another app will try to
23*b7c941bbSAndroid Build Coastguard Worker    access.
24*b7c941bbSAndroid Build Coastguard Worker    -->
25*b7c941bbSAndroid Build Coastguard Worker
26*b7c941bbSAndroid Build Coastguard Worker    <!--
27*b7c941bbSAndroid Build Coastguard Worker    We want to test without app data isolation, which comes with targetSdk 30.
28*b7c941bbSAndroid Build Coastguard Worker    -->
29*b7c941bbSAndroid Build Coastguard Worker    <uses-sdk android:targetSdkVersion="29" />
30*b7c941bbSAndroid Build Coastguard Worker
31*b7c941bbSAndroid Build Coastguard Worker
32*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INTERNET" />
33*b7c941bbSAndroid Build Coastguard Worker
34*b7c941bbSAndroid Build Coastguard Worker    <application>
35*b7c941bbSAndroid Build Coastguard Worker        <uses-library android:name="android.test.runner" />
36*b7c941bbSAndroid Build Coastguard Worker
37*b7c941bbSAndroid Build Coastguard Worker        <provider
38*b7c941bbSAndroid Build Coastguard Worker            android:name="com.android.cts.appwithdata.MyProvider"
39*b7c941bbSAndroid Build Coastguard Worker            android:authorities="com.android.cts.appwithdata"
40*b7c941bbSAndroid Build Coastguard Worker            android:exported="true"
41*b7c941bbSAndroid Build Coastguard Worker            android:visibleToInstantApps="true" />
42*b7c941bbSAndroid Build Coastguard Worker    </application>
43*b7c941bbSAndroid Build Coastguard Worker
44*b7c941bbSAndroid Build Coastguard Worker    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
45*b7c941bbSAndroid Build Coastguard Worker                     android:targetPackage="com.android.cts.appwithdata"
46*b7c941bbSAndroid Build Coastguard Worker                     android:label="Test to create app data."/>
47*b7c941bbSAndroid Build Coastguard Worker</manifest>
48