1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2016 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 --> 17 18<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="android.content.pm.cts.shortcutmanager.packages" 20 android:sharedUserId="android.content.pm.cts.shortcutmanager.packages"> 21 22 <application> 23 <uses-library android:name="android.test.runner"/> 24 25 <activity android:name="Launcher" 26 android:enabled="true" 27 android:exported="true"> 28 <intent-filter> 29 <action android:name="android.intent.action.MAIN"/> 30 <category android:name="android.intent.category.LAUNCHER"/> 31 <category android:name="android.intent.category.HOME"/> 32 </intent-filter> 33 </activity> 34 35 <activity-alias android:name="Launcher2" 36 android:targetActivity="Launcher" 37 android:exported="true"> 38 <intent-filter> 39 <action android:name="android.intent.action.MAIN"/> 40 <category android:name="android.intent.category.LAUNCHER"/> 41 </intent-filter> 42 </activity-alias> 43 44 <activity-alias android:name="Launcher3" 45 android:targetActivity="Launcher" 46 android:exported="true"> 47 <intent-filter> 48 <action android:name="android.intent.action.MAIN"/> 49 <category android:name="android.intent.category.LAUNCHER"/> 50 </intent-filter> 51 </activity-alias> 52 53 <activity-alias android:name="Launcher4" 54 android:targetActivity="Launcher" 55 android:exported="true"> 56 <intent-filter> 57 <action android:name="android.intent.action.MAIN"/> 58 <category android:name="android.intent.category.LAUNCHER"/> 59 </intent-filter> 60 </activity-alias> 61 62 <activity-alias android:name="Launcher5" 63 android:targetActivity="Launcher" 64 android:exported="true"> 65 <intent-filter> 66 <action android:name="android.intent.action.MAIN"/> 67 <category android:name="android.intent.category.LAUNCHER"/> 68 </intent-filter> 69 </activity-alias> 70 71 <activity-alias android:name="Launcher_no_main_1" 72 android:targetActivity="Launcher" 73 android:exported="true"> 74 <intent-filter> 75 <action android:name="android.intent.action.MAIN"/> 76 </intent-filter> 77 </activity-alias> 78 79 <activity-alias android:name="Launcher_no_main_2" 80 android:targetActivity="Launcher" 81 android:exported="true"> 82 <intent-filter> 83 <category android:name="android.intent.category.LAUNCHER"/> 84 </intent-filter> 85 </activity-alias> 86 87 <activity-alias android:name="Launcher_manifest_1" 88 android:enabled="false" 89 android:targetActivity="Launcher" 90 android:exported="true"> 91 <intent-filter> 92 <action android:name="android.intent.action.MAIN"/> 93 <category android:name="android.intent.category.LAUNCHER"/> 94 </intent-filter> 95 <meta-data android:name="android.app.shortcuts" 96 android:resource="@xml/shortcuts1"/> 97 </activity-alias> 98 99 <activity-alias android:name="Launcher_manifest_2" 100 android:enabled="false" 101 android:targetActivity="Launcher" 102 android:exported="true"> 103 <intent-filter> 104 <action android:name="android.intent.action.MAIN"/> 105 <category android:name="android.intent.category.LAUNCHER"/> 106 </intent-filter> 107 <meta-data android:name="android.app.shortcuts" 108 android:resource="@xml/shortcuts2"/> 109 </activity-alias> 110 111 <activity-alias android:name="Launcher_manifest_3" 112 android:enabled="false" 113 android:targetActivity="Launcher" 114 android:exported="true"> 115 <intent-filter> 116 <action android:name="android.intent.action.MAIN"/> 117 <category android:name="android.intent.category.LAUNCHER"/> 118 </intent-filter> 119 <meta-data android:name="android.app.shortcuts" 120 android:resource="@xml/shortcuts3"/> 121 </activity-alias> 122 123 <activity-alias android:name="Launcher_manifest_4a" 124 android:enabled="false" 125 android:targetActivity="Launcher" 126 android:exported="true"> 127 <intent-filter> 128 <action android:name="android.intent.action.MAIN"/> 129 <category android:name="android.intent.category.LAUNCHER"/> 130 </intent-filter> 131 <meta-data android:name="android.app.shortcuts" 132 android:resource="@xml/shortcuts4a"/> 133 </activity-alias> 134 135 <activity-alias android:name="Launcher_manifest_4b" 136 android:enabled="false" 137 android:targetActivity="Launcher" 138 android:exported="true"> 139 <intent-filter> 140 <action android:name="android.intent.action.MAIN"/> 141 <category android:name="android.intent.category.LAUNCHER"/> 142 </intent-filter> 143 <meta-data android:name="android.app.shortcuts" 144 android:resource="@xml/shortcuts4b"/> 145 </activity-alias> 146 147 <activity-alias android:name="Launcher_manifest_error_1" 148 android:enabled="false" 149 android:targetActivity="Launcher" 150 android:exported="true"> 151 <intent-filter> 152 <action android:name="android.intent.action.MAIN"/> 153 <category android:name="android.intent.category.LAUNCHER"/> 154 </intent-filter> 155 <meta-data android:name="android.app.shortcuts" 156 android:resource="@xml/shortcut_error_1"/> 157 </activity-alias> 158 <activity-alias android:name="Launcher_manifest_error_2" 159 android:enabled="false" 160 android:targetActivity="Launcher" 161 android:exported="true"> 162 <intent-filter> 163 <action android:name="android.intent.action.MAIN"/> 164 <category android:name="android.intent.category.LAUNCHER"/> 165 </intent-filter> 166 <meta-data android:name="android.app.shortcuts" 167 android:resource="@xml/shortcut_error_2"/> 168 </activity-alias> 169 <activity-alias android:name="Launcher_manifest_error_3" 170 android:enabled="false" 171 android:targetActivity="Launcher" 172 android:exported="true"> 173 <intent-filter> 174 <action android:name="android.intent.action.MAIN"/> 175 <category android:name="android.intent.category.LAUNCHER"/> 176 </intent-filter> 177 <meta-data android:name="android.app.shortcuts" 178 android:resource="@xml/shortcut_error_3"/> 179 </activity-alias> 180 </application> 181</manifest> 182