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" android:exported="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 34 android:name=".SingleInstancePerTaskActivity" 35 android:launchMode="singleInstancePerTask" 36 /> 37 <activity 38 android:name=".SingleTopActivity" 39 android:launchMode="singleTop" /> 40 <activity 41 android:name=".SingleInstanceActivity" 42 android:launchMode="singleInstance" /> 43 <activity 44 android:name=".SingleTaskActivity" 45 android:launchMode="singleTask" /> 46 <activity 47 android:name=".TaskAffinity1Activity" 48 android:launchMode="standard" 49 android:allowTaskReparenting="true" 50 android:taskAffinity=".t1" /> 51 <activity 52 android:name=".TaskAffinity2Activity" 53 android:launchMode="standard" 54 android:allowTaskReparenting="true" 55 android:taskAffinity=".t2" /> 56 <activity 57 android:name=".TaskAffinity3Activity" 58 android:launchMode="standard" 59 android:allowTaskReparenting="true" 60 android:taskAffinity=".t3" /> 61 <activity 62 android:name=".ClearTaskOnLaunchActivity" 63 android:launchMode="standard" 64 android:clearTaskOnLaunch="true" 65 android:allowTaskReparenting="true" 66 android:taskAffinity=".t2" /> 67 <activity 68 android:name=".DocumentLaunchIntoActivity" 69 android:documentLaunchMode="intoExisting" /> 70 <activity 71 android:name=".DocumentLaunchAlwaysActivity" 72 android:documentLaunchMode="always" /> 73 <activity 74 android:name=".DocumentLaunchNeverActivity" 75 android:documentLaunchMode="never" /> 76 <activity 77 android:name=".NoHistoryActivity" 78 android:noHistory="true" /> 79 </application> 80</manifest>