blob: c81053932a472f9c58e4eec9deeb3fb7485853aa [file] [log] [blame]
Tony Mak991a5b62017-10-24 11:26:01 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070018 package="com.android.cts.crossprofileappstest">
Tony Mak991a5b62017-10-24 11:26:01 +010019
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070020 <uses-sdk android:minSdkVersion="21"
21 android:targetSdkVersion="25"/>
Tony Mak991a5b62017-10-24 11:26:01 +010022
23 <application>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070024 <uses-library android:name="android.test.runner"/>
25 <receiver android:name="com.android.cts.crossprofileappstest.AdminReceiver"
26 android:permission="android.permission.BIND_DEVICE_ADMIN"
27 android:exported="true">
Alex Kershaw9af2f2c2020-05-19 20:34:31 +010028 <meta-data android:name="android.app.device_admin"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070029 android:resource="@xml/device_admin"/>
Alex Kershaw9af2f2c2020-05-19 20:34:31 +010030 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070031 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/>
Alex Kershaw9af2f2c2020-05-19 20:34:31 +010032 </intent-filter>
33 </receiver>
34
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070035 <activity android:name=".MainActivity"
36 android:exported="true">
Tony Mak991a5b62017-10-24 11:26:01 +010037 <intent-filter>
38 <action android:name="android.intent.action.MAIN"/>
39 <category android:name="android.intent.category.LAUNCHER"/>
40 <category android:name="android.intent.category.DEFAULT"/>
41 </intent-filter>
42 </activity>
43
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070044 <activity android:name=".NonMainActivity"
45 android:exported="true">
Jonathan Scott595f5462020-01-20 16:27:51 +000046 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070047 <action android:name="nonMainActivity"/>
Jonathan Scott595f5462020-01-20 16:27:51 +000048 </intent-filter>
49 </activity>
Tony Mak991a5b62017-10-24 11:26:01 +010050
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070051 <activity android:name=".NonExportedActivity"
52 android:exported="false">
Tony Mak991a5b62017-10-24 11:26:01 +010053 <intent-filter>
54 <action android:name="android.intent.action.MAIN"/>
55 <category android:name="android.intent.category.LAUNCHER"/>
56 <category android:name="android.intent.category.DEFAULT"/>
57 </intent-filter>
58 </activity>
Alex Kershaw74bb6772020-02-17 12:31:40 +000059
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070060 <activity android:name=".CrossProfileSameTaskLauncherActivity"
61 android:exported="true"/>
Alex Kershaw32484ec2020-11-30 22:20:51 +000062
63 <activity android:name=".CrossProfileResultCheckerActivity"
64 android:exported="true"/>
65
66 <activity android:name=".CrossProfileResultReturnerActivity"
67 android:exported="true"/>
Tony Mak991a5b62017-10-24 11:26:01 +010068 </application>
69
Brett Chabot244f0382019-02-15 13:02:34 -080070 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070071 android:targetPackage="com.android.cts.crossprofileappstest"
72 android:label="Launcher Apps CTS Tests"/>
kholoud mohamed35f5c1e2020-01-08 14:51:06 +000073
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070074 <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/>
Tony Mak991a5b62017-10-24 11:26:01 +010075</manifest>