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 <uses-permission android:name="android.permission.REORDER_TASKS" /> 20 <application 21 android:icon="@mipmap/ic_launcher" 22 android:label="@string/app_name" 23 android:roundIcon="@mipmap/ic_launcher_round" 24 android:supportsRtl="true" 25 android:theme="@style/AppTheme"> 26 <activity 27 android:name=".LauncherActivity" 28 android:launchMode="singleInstance" 29 android:documentLaunchMode="always"> 30 <intent-filter> 31 <action android:name="android.intent.action.MAIN" /> 32 <category android:name="android.intent.category.LAUNCHER" /> 33 </intent-filter> 34 </activity> 35 <activity 36 android:name=".SingleTopActivity" 37 android:launchMode="singleTop" /> 38 <activity 39 android:name=".SingleInstanceActivity" 40 android:launchMode="singleInstance" /> 41 <activity 42 android:name=".SingleTaskActivity" 43 android:launchMode="singleTask" /> 44 <activity 45 android:name=".TaskAffinity1Activity" 46 android:launchMode="standard" 47 android:allowTaskReparenting="true" 48 android:taskAffinity=".t1" /> 49 <activity 50 android:name=".TaskAffinity2Activity" 51 android:launchMode="standard" 52 android:allowTaskReparenting="true" 53 android:taskAffinity=".t2" /> 54 <activity 55 android:name=".TaskAffinity3Activity" 56 android:launchMode="standard" 57 android:allowTaskReparenting="true" 58 android:taskAffinity=".t3" /> 59 <activity 60 android:name=".ClearTaskOnLaunchActivity" 61 android:launchMode="standard" 62 android:clearTaskOnLaunch="true" 63 android:allowTaskReparenting="true" 64 android:taskAffinity=".t2" /> 65 <activity 66 android:name=".DocumentLaunchIntoActivity" 67 android:documentLaunchMode="intoExisting" /> 68 <activity 69 android:name=".DocumentLaunchAlwaysActivity" 70 android:documentLaunchMode="always" /> 71 <activity 72 android:name=".DocumentLaunchNeverActivity" 73 android:documentLaunchMode="never" /> 74 <activity 75 android:name=".NoHistoryActivity" 76 android:noHistory="true" /> 77 </application> 78 </manifest>