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            <intent-filter>
28                <action android:name="android.intent.action.MAIN" />
29                <category android:name="android.intent.category.LAUNCHER" />
30                <category android:name="android.intent.category.HOME" />
31            </intent-filter>
32        </activity>
33
34        <activity-alias android:name="Launcher2"
35            android:targetActivity="Launcher">
36            <intent-filter>
37                <action android:name="android.intent.action.MAIN" />
38                <category android:name="android.intent.category.LAUNCHER" />
39            </intent-filter>
40        </activity-alias>
41
42        <activity-alias android:name="Launcher3"
43            android:targetActivity="Launcher">
44            <intent-filter>
45                <action android:name="android.intent.action.MAIN" />
46                <category android:name="android.intent.category.LAUNCHER" />
47            </intent-filter>
48        </activity-alias>
49
50        <activity-alias android:name="Launcher4"
51            android:targetActivity="Launcher">
52            <intent-filter>
53                <action android:name="android.intent.action.MAIN" />
54                <category android:name="android.intent.category.LAUNCHER" />
55            </intent-filter>
56        </activity-alias>
57
58        <activity-alias android:name="Launcher5"
59            android:targetActivity="Launcher">
60            <intent-filter>
61                <action android:name="android.intent.action.MAIN" />
62                <category android:name="android.intent.category.LAUNCHER" />
63            </intent-filter>
64        </activity-alias>
65
66        <activity-alias android:name="Launcher_no_main_1"
67            android:targetActivity="Launcher">
68            <intent-filter>
69                <action android:name="android.intent.action.MAIN" />
70            </intent-filter>
71        </activity-alias>
72
73        <activity-alias android:name="Launcher_no_main_2"
74            android:targetActivity="Launcher">
75            <intent-filter>
76                <category android:name="android.intent.category.LAUNCHER" />
77            </intent-filter>
78        </activity-alias>
79
80        <activity-alias android:name="Launcher_manifest_1"
81            android:enabled="false"
82            android:targetActivity="Launcher">
83            <intent-filter>
84                <action android:name="android.intent.action.MAIN" />
85                <category android:name="android.intent.category.LAUNCHER" />
86            </intent-filter>
87            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts1"/>
88        </activity-alias>
89
90        <activity-alias android:name="Launcher_manifest_2"
91            android:enabled="false"
92            android:targetActivity="Launcher">
93            <intent-filter>
94                <action android:name="android.intent.action.MAIN" />
95                <category android:name="android.intent.category.LAUNCHER" />
96            </intent-filter>
97            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts2"/>
98        </activity-alias>
99
100        <activity-alias android:name="Launcher_manifest_3"
101            android:enabled="false"
102            android:targetActivity="Launcher">
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" android:resource="@xml/shortcuts3"/>
108        </activity-alias>
109
110        <activity-alias android:name="Launcher_manifest_4a"
111            android:enabled="false"
112            android:targetActivity="Launcher">
113            <intent-filter>
114                <action android:name="android.intent.action.MAIN" />
115                <category android:name="android.intent.category.LAUNCHER" />
116            </intent-filter>
117            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts4a"/>
118        </activity-alias>
119
120        <activity-alias android:name="Launcher_manifest_4b"
121            android:enabled="false"
122            android:targetActivity="Launcher">
123            <intent-filter>
124                <action android:name="android.intent.action.MAIN" />
125                <category android:name="android.intent.category.LAUNCHER" />
126            </intent-filter>
127            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts4b"/>
128        </activity-alias>
129
130        <activity-alias android:name="Launcher_manifest_error_1"
131            android:enabled="false"
132            android:targetActivity="Launcher">
133            <intent-filter>
134                <action android:name="android.intent.action.MAIN" />
135                <category android:name="android.intent.category.LAUNCHER" />
136            </intent-filter>
137            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_error_1"/>
138        </activity-alias>
139        <activity-alias android:name="Launcher_manifest_error_2"
140            android:enabled="false"
141            android:targetActivity="Launcher">
142            <intent-filter>
143                <action android:name="android.intent.action.MAIN" />
144                <category android:name="android.intent.category.LAUNCHER" />
145            </intent-filter>
146            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_error_2"/>
147        </activity-alias>
148        <activity-alias android:name="Launcher_manifest_error_3"
149            android:enabled="false"
150            android:targetActivity="Launcher">
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" android:resource="@xml/shortcut_error_3"/>
156        </activity-alias>
157    </application>
158</manifest>
159