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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    package="com.android.launcher3.tests">
20
21    <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
22
23    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
24    <uses-permission android:name="android.permission.READ_LOGS"/>
25    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
26
27    <application android:debuggable="true" android:extractNativeLibs="true">
28        <uses-library android:name="android.test.runner"/>
29
30        <receiver
31            android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
32            android:exported="true"
33            android:label="No Config">
34            <intent-filter>
35                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
36            </intent-filter>
37            <meta-data android:name="android.appwidget.provider"
38                       android:resource="@xml/appwidget_no_config"/>
39        </receiver>
40
41        <receiver
42            android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
43            android:exported="true"
44            android:label="Hidden widget">
45            <intent-filter>
46                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
47            </intent-filter>
48            <meta-data android:name="android.appwidget.provider"
49                       android:resource="@xml/appwidget_hidden"/>
50        </receiver>
51
52        <receiver
53            android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
54            android:exported="true"
55            android:label="With Config">
56            <intent-filter>
57                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
58            </intent-filter>
59            <meta-data android:name="android.appwidget.provider"
60                       android:resource="@xml/appwidget_with_config"/>
61        </receiver>
62
63        <receiver
64            android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors"
65            android:exported="true"
66            android:label="Dynamic Colors">
67            <intent-filter>
68                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
69            </intent-filter>
70            <meta-data android:name="android.appwidget.provider"
71                android:resource="@xml/appwidget_dynamic_colors"/>
72        </receiver>
73
74        <activity
75            android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"
76            android:exported="true">
77            <intent-filter>
78                <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
79            </intent-filter>
80        </activity>
81        <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"
82            android:exported="true">
83            <intent-filter>
84                <action android:name="android.intent.action.CREATE_SHORTCUT" />
85                <category android:name="android.intent.category.DEFAULT" />
86            </intent-filter>
87        </activity>
88        <activity
89            android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
90            android:icon="@drawable/test_drawable_pin_item"
91            android:exported="true"
92            android:label="Test Pin Item">
93            <intent-filter>
94                <action android:name="android.intent.action.MAIN"/>
95                <category android:name="android.intent.category.LAUNCHER"/>
96                <category android:name="android.intent.category.DEFAULT"/>
97            </intent-filter>
98        </activity>
99
100        <service
101            android:name="com.android.launcher3.testcomponent.ListViewService"
102            android:permission="android.permission.BIND_REMOTEVIEWS" />
103
104        <provider
105            android:name="com.android.launcher3.testcomponent.TestCommandProvider"
106            android:authorities="${packageName}.commands"
107            android:exported="true"/>
108
109        <activity
110            android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
111            android:clearTaskOnLaunch="true"
112            android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
113            android:enabled="false"
114            android:label="Test launcher"
115            android:launchMode="singleTask"
116            android:process=":testLauncherProcess"
117            android:resizeableActivity="true"
118            android:screenOrientation="unspecified"
119            android:stateNotNeeded="true"
120            android:taskAffinity=""
121            android:theme="@android:style/Theme.DeviceDefault.Light"
122            android:exported="true"
123            android:windowSoftInputMode="adjustPan">
124            <intent-filter>
125                <action android:name="android.intent.action.MAIN"/>
126                <category android:name="android.intent.category.HOME"/>
127                <category android:name="android.intent.category.DEFAULT"/>
128                <category android:name="android.intent.category.MONKEY"/>
129                <category android:name="android.intent.category.LAUNCHER_APP"/>
130            </intent-filter>
131        </activity>
132        <activity
133            android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
134            android:label="LauncherTestApp"
135            android:exported="true"
136            android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
137            <intent-filter>
138                <action android:name="android.intent.action.MAIN"/>
139                <category android:name="android.intent.category.LAUNCHER"/>
140            </intent-filter>
141            <intent-filter>
142                <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
143                <category android:name="android.intent.category.DEFAULT"/>
144            </intent-filter>
145            <meta-data android:name="android.app.shortcuts"
146                       android:resource="@xml/shortcuts"/>
147        </activity>
148        <activity
149            android:name="com.android.launcher3.testcomponent.OtherBaseTestingActivity"
150            android:label="OtherLauncherTestApp"
151            android:exported="true"
152            android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
153            <intent-filter>
154                <action android:name="android.intent.action.MAIN"/>
155                <category android:name="android.intent.category.LAUNCHER"/>
156            </intent-filter>
157        </activity>
158        <activity-alias android:name="Activity2"
159                        android:label="TestActivity2"
160                        android:exported="true"
161                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
162            <intent-filter>
163                <action android:name="android.intent.action.MAIN"/>
164                <category android:name="android.intent.category.LAUNCHER"/>
165            </intent-filter>
166        </activity-alias>
167        <activity-alias android:name="Activity3"
168                        android:label="TestActivity3"
169                        android:exported="true"
170                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
171            <intent-filter>
172                <action android:name="android.intent.action.MAIN"/>
173                <category android:name="android.intent.category.LAUNCHER"/>
174            </intent-filter>
175        </activity-alias>
176        <activity-alias android:name="Activity4"
177                        android:label="TestActivity4"
178                        android:exported="true"
179                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
180            <intent-filter>
181                <action android:name="android.intent.action.MAIN"/>
182                <category android:name="android.intent.category.LAUNCHER"/>
183            </intent-filter>
184        </activity-alias>
185        <activity-alias android:name="Activity5"
186                        android:label="TestActivity5"
187                        android:exported="true"
188                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
189            <intent-filter>
190                <action android:name="android.intent.action.MAIN"/>
191                <category android:name="android.intent.category.LAUNCHER"/>
192            </intent-filter>
193        </activity-alias>
194        <activity-alias android:name="Activity6"
195                        android:label="TestActivity6"
196                        android:exported="true"
197                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
198            <intent-filter>
199                <action android:name="android.intent.action.MAIN"/>
200                <category android:name="android.intent.category.LAUNCHER"/>
201            </intent-filter>
202        </activity-alias>
203        <activity-alias android:name="Activity7"
204                        android:label="TestActivity7"
205                        android:exported="true"
206                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
207            <intent-filter>
208                <action android:name="android.intent.action.MAIN"/>
209                <category android:name="android.intent.category.LAUNCHER"/>
210            </intent-filter>
211        </activity-alias>
212        <activity-alias android:name="Activity8"
213                        android:label="TestActivity8"
214                        android:exported="true"
215                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
216            <intent-filter>
217                <action android:name="android.intent.action.MAIN"/>
218                <category android:name="android.intent.category.LAUNCHER"/>
219            </intent-filter>
220        </activity-alias>
221        <activity-alias android:name="Activity9" android:exported="true"
222            android:label="TestActivity9"
223            android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
224            <intent-filter>
225                <action android:name="android.intent.action.MAIN" />
226                <category android:name="android.intent.category.LAUNCHER" />
227            </intent-filter>
228        </activity-alias>
229        <activity-alias android:name="Activity10" android:exported="true"
230            android:label="TestActivity10"
231            android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
232            <intent-filter>
233                <action android:name="android.intent.action.MAIN" />
234                <category android:name="android.intent.category.LAUNCHER" />
235            </intent-filter>
236        </activity-alias>
237        <activity-alias android:name="Activity11" android:exported="true"
238            android:label="TestActivity11"
239            android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
240            <intent-filter>
241                <action android:name="android.intent.action.MAIN" />
242                <category android:name="android.intent.category.LAUNCHER" />
243            </intent-filter>
244        </activity-alias>
245        <activity-alias android:name="Activity12" android:exported="true"
246            android:label="TestActivity12"
247            android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
248            <intent-filter>
249                <action android:name="android.intent.action.MAIN" />
250                <category android:name="android.intent.category.LAUNCHER" />
251            </intent-filter>
252        </activity-alias>
253        <activity-alias android:name="Activity13" android:exported="true"
254            android:label="TestActivity13"
255            android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
256            <intent-filter>
257                <action android:name="android.intent.action.MAIN" />
258                <category android:name="android.intent.category.LAUNCHER" />
259            </intent-filter>
260        </activity-alias>
261        <activity-alias android:name="Activity14" android:exported="true"
262            android:label="TestActivity14"
263            android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
264            <intent-filter>
265                <action android:name="android.intent.action.MAIN" />
266                <category android:name="android.intent.category.LAUNCHER" />
267            </intent-filter>
268        </activity-alias>
269    </application>
270</manifest>
271