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"
18          package="com.example.android.intentplayground">
19    <!-- Used to reorder tasks using android.app.ActivityManager.moveTaskToFront() -->
20    <uses-permission android:name="android.permission.REORDER_TASKS"/>
21    <application
22        android:icon="@mipmap/ic_launcher"
23        android:label="@string/app_name"
24        android:roundIcon="@mipmap/ic_launcher_round"
25        android:supportsRtl="true"
26        android:theme="@style/AppTheme">
27        <activity android:name=".RegularActivity">
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
34            android:name=".SingleTopActivity"
35            android:launchMode="singleTop" />
36        <activity
37            android:name=".SingleInstanceActivity"
38            android:launchMode="singleInstance" />
39        <activity
40            android:name=".SingleTaskActivity"
41            android:launchMode="singleTask" />
42        <activity
43            android:name=".TaskAffinity1Activity"
44            android:launchMode="standard"
45            android:allowTaskReparenting="true"
46            android:taskAffinity=".t1" />
47        <activity
48            android:name=".TaskAffinity2Activity"
49            android:launchMode="standard"
50            android:allowTaskReparenting="true"
51            android:taskAffinity=".t2" />
52        <activity
53            android:name=".TaskAffinity3Activity"
54            android:launchMode="standard"
55            android:allowTaskReparenting="true"
56            android:taskAffinity=".t3" />
57        <activity
58            android:name=".ClearTaskOnLaunchActivity"
59            android:launchMode="standard"
60            android:clearTaskOnLaunch="true"
61            android:allowTaskReparenting="true"
62            android:taskAffinity=".t2" />
63        <activity
64            android:name=".DocumentLaunchIntoActivity"
65            android:documentLaunchMode="intoExisting" />
66        <activity
67            android:name=".DocumentLaunchAlwaysActivity"
68            android:documentLaunchMode="always" />
69        <activity
70            android:name=".DocumentLaunchNeverActivity"
71            android:documentLaunchMode="never" />
72        <activity
73            android:name=".NoHistoryActivity"
74            android:noHistory="true" />
75    </application>
76</manifest>