Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 1 | <?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 Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 18 | package="com.android.cts.crossprofileappstest"> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 19 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 20 | <uses-sdk android:minSdkVersion="21" |
| 21 | android:targetSdkVersion="25"/> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 22 | |
| 23 | <application> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 24 | <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 Kershaw | 9af2f2c | 2020-05-19 20:34:31 +0100 | [diff] [blame] | 28 | <meta-data android:name="android.app.device_admin" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 29 | android:resource="@xml/device_admin"/> |
Alex Kershaw | 9af2f2c | 2020-05-19 20:34:31 +0100 | [diff] [blame] | 30 | <intent-filter> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 31 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/> |
Alex Kershaw | 9af2f2c | 2020-05-19 20:34:31 +0100 | [diff] [blame] | 32 | </intent-filter> |
| 33 | </receiver> |
| 34 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 35 | <activity android:name=".MainActivity" |
| 36 | android:exported="true"> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 37 | <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 Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 44 | <activity android:name=".NonMainActivity" |
| 45 | android:exported="true"> |
Jonathan Scott | 595f546 | 2020-01-20 16:27:51 +0000 | [diff] [blame] | 46 | <intent-filter> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 47 | <action android:name="nonMainActivity"/> |
Jonathan Scott | 595f546 | 2020-01-20 16:27:51 +0000 | [diff] [blame] | 48 | </intent-filter> |
| 49 | </activity> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 50 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 51 | <activity android:name=".NonExportedActivity" |
| 52 | android:exported="false"> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 53 | <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 Kershaw | 74bb677 | 2020-02-17 12:31:40 +0000 | [diff] [blame] | 59 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 60 | <activity android:name=".CrossProfileSameTaskLauncherActivity" |
| 61 | android:exported="true"/> |
Alex Kershaw | 32484ec | 2020-11-30 22:20:51 +0000 | [diff] [blame] | 62 | |
| 63 | <activity android:name=".CrossProfileResultCheckerActivity" |
| 64 | android:exported="true"/> |
| 65 | |
| 66 | <activity android:name=".CrossProfileResultReturnerActivity" |
| 67 | android:exported="true"/> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 68 | </application> |
| 69 | |
Brett Chabot | 244f038 | 2019-02-15 13:02:34 -0800 | [diff] [blame] | 70 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 71 | android:targetPackage="com.android.cts.crossprofileappstest" |
| 72 | android:label="Launcher Apps CTS Tests"/> |
kholoud mohamed | 35f5c1e | 2020-01-08 14:51:06 +0000 | [diff] [blame] | 73 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 74 | <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/> |
Tony Mak | 991a5b6 | 2017-10-24 11:26:01 +0100 | [diff] [blame] | 75 | </manifest> |