xref: /aosp_15_r20/frameworks/base/tests/TaskOrganizerTest/AndroidManifest.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6          http://www.apache.org/licenses/LICENSE-2.0
7     Unless required by applicable law or agreed to in writing, software
8     distributed under the License is distributed on an "AS IS" BASIS,
9     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10     See the License for the specific language governing permissions and
11     limitations under the License.
12-->
13
14<manifest xmlns:android="http://schemas.android.com/apk/res/android"
15     package="com.android.test.taskembed">
16    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>
17    <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/>
18    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
19    <!-- Allow the test to connect to perfetto trace processor -->
20    <uses-permission android:name="android.permission.INTERNET"/>
21    <!-- Enable / Disable tracing !-->
22    <uses-permission android:name="android.permission.DUMP" />
23    <application android:networkSecurityConfig="@xml/network_security_config">
24      <activity android:name="TaskOrganizerMultiWindowTest"
25           android:label="TaskOrganizer MW Test"
26           android:exported="true"
27           android:excludeFromRecents="true">
28        <intent-filter>
29          <action android:name="android.intent.action.MAIN"/>
30          <category android:name="android.intent.category.LAUNCHER"/>
31        </intent-filter>
32      </activity>
33        <activity android:name="TaskOrganizerMultiWindowTest$TestActivity1"
34                  android:label="Test Activity 1"
35                  android:exported="false"
36                  android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
37                  android:taskAffinity="com.android.test.taskembed.task1"
38                  android:excludeFromRecents="true">
39            <intent-filter>
40                <action android:name="android.intent.action.MAIN"/>
41            </intent-filter>
42        </activity>
43        <activity android:name="TaskOrganizerMultiWindowTest$TestActivity2"
44                  android:label="Test Activity 2"
45                  android:exported="false"
46                  android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
47                  android:taskAffinity="com.android.test.taskembed.task2"
48                  android:excludeFromRecents="true">
49            <intent-filter>
50                <action android:name="android.intent.action.MAIN"/>
51            </intent-filter>
52        </activity>
53    </application>
54    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
55                     android:targetPackage="com.android.test.taskembed"
56                     android:label="TaskOrganizerTest">
57    </instrumentation>
58</manifest>
59