blob: 28688fd6fc3cdc4799dab420f722163405dc3eef [file] [log] [blame]
Sunny Goyal658058b2017-01-21 01:33:02 -08001<?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"
Alan Viverette58dd9352021-08-25 22:06:47 +000019 xmlns:tools="http://schemas.android.com/tools"
Sunny Goyal658058b2017-01-21 01:33:02 -080020 package="com.android.launcher3.tests">
21
vadimtb96898a2019-04-05 18:35:29 -070022 <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
Winson Chungb3fe6612018-10-29 10:45:25 -070023
vadimt94734212019-08-05 17:31:53 -070024 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
25 <uses-permission android:name="android.permission.READ_LOGS"/>
vadimtaad54ab2020-01-07 14:54:53 -080026 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Sunny Goyal50097ef2022-11-03 10:34:56 -070027 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
vadimt94734212019-08-05 17:31:53 -070028
Sunny Goyal4af8cf92021-07-29 15:48:24 -070029 <application android:debuggable="true" android:extractNativeLibs="true">
vadimtb96898a2019-04-05 18:35:29 -070030 <uses-library android:name="android.test.runner"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080031
Sunny Goyald9843352017-01-25 11:19:59 -080032 <receiver
33 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070034 android:exported="true"
Sunny Goyald9843352017-01-25 11:19:59 -080035 android:label="No Config">
Sunny Goyal658058b2017-01-21 01:33:02 -080036 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070037 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080038 </intent-filter>
39 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070040 android:resource="@xml/appwidget_no_config"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080041 </receiver>
42
Winson Chung1054d4e2018-03-05 19:39:21 +000043 <receiver
Federico Baron827001a2023-02-07 10:50:14 -080044 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfigLarge"
45 android:exported="true"
46 android:label="No Config Large">
47 <intent-filter>
48 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
49 </intent-filter>
50 <meta-data android:name="android.appwidget.provider"
51 android:resource="@xml/appwidget_no_config_large"/>
52 </receiver>
53
54 <receiver
Winson Chung1054d4e2018-03-05 19:39:21 +000055 android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070056 android:exported="true"
Winson Chung1054d4e2018-03-05 19:39:21 +000057 android:label="Hidden widget">
58 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070059 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Winson Chung1054d4e2018-03-05 19:39:21 +000060 </intent-filter>
61 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070062 android:resource="@xml/appwidget_hidden"/>
Winson Chung1054d4e2018-03-05 19:39:21 +000063 </receiver>
64
Sunny Goyald9843352017-01-25 11:19:59 -080065 <receiver
66 android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070067 android:exported="true"
Sunny Goyald9843352017-01-25 11:19:59 -080068 android:label="With Config">
Sunny Goyal658058b2017-01-21 01:33:02 -080069 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070070 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080071 </intent-filter>
72 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070073 android:resource="@xml/appwidget_with_config"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080074 </receiver>
75
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +000076 <receiver
Sunny Goyal39b07fd2022-10-27 13:19:47 -070077 android:name="com.android.launcher3.testcomponent.AppWidgetWithDialog"
78 android:exported="true"
79 android:label="With Dialog">
80 <intent-filter>
81 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
82 </intent-filter>
83 <meta-data android:name="android.appwidget.provider"
84 android:resource="@xml/appwidget_no_config"/>
85 </receiver>
86
87 <receiver
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +000088 android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors"
89 android:exported="true"
90 android:label="Dynamic Colors">
91 <intent-filter>
92 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
93 </intent-filter>
94 <meta-data android:name="android.appwidget.provider"
95 android:resource="@xml/appwidget_dynamic_colors"/>
96 </receiver>
97
Sunny Goyal658058b2017-01-21 01:33:02 -080098 <activity
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070099 android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"
100 android:exported="true">
Sunny Goyal658058b2017-01-21 01:33:02 -0800101 <intent-filter>
102 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
103 </intent-filter>
104 </activity>
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700105 <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"
106 android:exported="true">
Pinyao Tingd625e492019-10-02 11:25:44 -0700107 <intent-filter>
108 <action android:name="android.intent.action.CREATE_SHORTCUT" />
109 <category android:name="android.intent.category.DEFAULT" />
110 </intent-filter>
111 </activity>
Sunny Goyald9843352017-01-25 11:19:59 -0800112 <activity
113 android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
vadimtb96898a2019-04-05 18:35:29 -0700114 android:icon="@drawable/test_drawable_pin_item"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700115 android:exported="true"
vadimtb96898a2019-04-05 18:35:29 -0700116 android:label="Test Pin Item">
Sunny Goyald9843352017-01-25 11:19:59 -0800117 <intent-filter>
118 <action android:name="android.intent.action.MAIN"/>
119 <category android:name="android.intent.category.LAUNCHER"/>
Sunny Goyald9843352017-01-25 11:19:59 -0800120 </intent-filter>
121 </activity>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700122
Sunny Goyal8f90d5d2019-09-18 22:29:40 -0700123 <service
124 android:name="com.android.launcher3.testcomponent.ListViewService"
125 android:permission="android.permission.BIND_REMOTEVIEWS" />
126
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700127 <provider
Sunny Goyal8f90d5d2019-09-18 22:29:40 -0700128 android:name="com.android.launcher3.testcomponent.TestCommandProvider"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700129 android:authorities="${packageName}.commands"
vadimtb96898a2019-04-05 18:35:29 -0700130 android:exported="true"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700131
132 <activity
133 android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700134 android:clearTaskOnLaunch="true"
Alex Chau84fe75d2021-11-03 17:07:16 +0000135 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
vadimtb96898a2019-04-05 18:35:29 -0700136 android:enabled="false"
137 android:label="Test launcher"
138 android:launchMode="singleTask"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700139 android:process=":testLauncherProcess"
vadimtb96898a2019-04-05 18:35:29 -0700140 android:resizeableActivity="true"
141 android:screenOrientation="unspecified"
142 android:stateNotNeeded="true"
143 android:taskAffinity=""
144 android:theme="@android:style/Theme.DeviceDefault.Light"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700145 android:exported="true"
vadimtb96898a2019-04-05 18:35:29 -0700146 android:windowSoftInputMode="adjustPan">
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700147 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -0700148 <action android:name="android.intent.action.MAIN"/>
149 <category android:name="android.intent.category.HOME"/>
150 <category android:name="android.intent.category.DEFAULT"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700151 <category android:name="android.intent.category.MONKEY"/>
vadimtb96898a2019-04-05 18:35:29 -0700152 <category android:name="android.intent.category.LAUNCHER_APP"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700153 </intent-filter>
154 </activity>
vadimtfb0cb7a2019-04-04 17:35:57 -0700155 <activity
156 android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
vadimtf1e0c902019-04-30 19:54:43 -0700157 android:label="LauncherTestApp"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700158 android:exported="true"
vadimtf1e0c902019-04-30 19:54:43 -0700159 android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
vadimtfb0cb7a2019-04-04 17:35:57 -0700160 <intent-filter>
161 <action android:name="android.intent.action.MAIN"/>
162 <category android:name="android.intent.category.LAUNCHER"/>
Schneider Victor-tuliasfb252e72022-02-10 11:10:21 -0800163 <category android:name="android.intent.category.DEFAULT"/>
vadimtfb0cb7a2019-04-04 17:35:57 -0700164 </intent-filter>
vadimtb96898a2019-04-05 18:35:29 -0700165 <intent-filter>
166 <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
167 <category android:name="android.intent.category.DEFAULT"/>
168 </intent-filter>
169 <meta-data android:name="android.app.shortcuts"
170 android:resource="@xml/shortcuts"/>
vadimtfb0cb7a2019-04-04 17:35:57 -0700171 </activity>
Pat Manningccec1de2021-10-06 11:10:12 +0000172 <activity
173 android:name="com.android.launcher3.testcomponent.OtherBaseTestingActivity"
174 android:label="OtherLauncherTestApp"
175 android:exported="true"
176 android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
177 <intent-filter>
178 <action android:name="android.intent.action.MAIN"/>
179 <category android:name="android.intent.category.LAUNCHER"/>
180 </intent-filter>
181 </activity>
vadimtdb4afbb2019-04-30 18:19:50 -0700182 <activity-alias android:name="Activity2"
183 android:label="TestActivity2"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700184 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700185 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
186 <intent-filter>
187 <action android:name="android.intent.action.MAIN"/>
188 <category android:name="android.intent.category.LAUNCHER"/>
189 </intent-filter>
190 </activity-alias>
191 <activity-alias android:name="Activity3"
192 android:label="TestActivity3"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700193 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700194 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
195 <intent-filter>
196 <action android:name="android.intent.action.MAIN"/>
197 <category android:name="android.intent.category.LAUNCHER"/>
198 </intent-filter>
199 </activity-alias>
200 <activity-alias android:name="Activity4"
201 android:label="TestActivity4"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700202 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700203 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
204 <intent-filter>
205 <action android:name="android.intent.action.MAIN"/>
206 <category android:name="android.intent.category.LAUNCHER"/>
207 </intent-filter>
208 </activity-alias>
209 <activity-alias android:name="Activity5"
210 android:label="TestActivity5"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700211 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700212 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
213 <intent-filter>
214 <action android:name="android.intent.action.MAIN"/>
215 <category android:name="android.intent.category.LAUNCHER"/>
216 </intent-filter>
217 </activity-alias>
218 <activity-alias android:name="Activity6"
219 android:label="TestActivity6"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700220 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700221 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
222 <intent-filter>
223 <action android:name="android.intent.action.MAIN"/>
224 <category android:name="android.intent.category.LAUNCHER"/>
225 </intent-filter>
226 </activity-alias>
227 <activity-alias android:name="Activity7"
228 android:label="TestActivity7"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700229 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700230 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
231 <intent-filter>
232 <action android:name="android.intent.action.MAIN"/>
233 <category android:name="android.intent.category.LAUNCHER"/>
234 </intent-filter>
235 </activity-alias>
236 <activity-alias android:name="Activity8"
237 android:label="TestActivity8"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700238 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700239 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
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>
Pat Manningccec1de2021-10-06 11:10:12 +0000245 <activity-alias android:name="Activity9" android:exported="true"
246 android:label="TestActivity9"
247 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
vadimtdb4afbb2019-04-30 18:19:50 -0700248 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000249 <action android:name="android.intent.action.MAIN" />
250 <category android:name="android.intent.category.LAUNCHER" />
vadimtdb4afbb2019-04-30 18:19:50 -0700251 </intent-filter>
252 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000253 <activity-alias android:name="Activity10" android:exported="true"
254 android:label="TestActivity10"
255 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
vadimtdb4afbb2019-04-30 18:19:50 -0700256 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000257 <action android:name="android.intent.action.MAIN" />
258 <category android:name="android.intent.category.LAUNCHER" />
vadimtdb4afbb2019-04-30 18:19:50 -0700259 </intent-filter>
260 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000261 <activity-alias android:name="Activity11" android:exported="true"
262 android:label="TestActivity11"
263 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
Vadim Trysheva8700f62018-08-30 16:01:47 -0700264 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000265 <action android:name="android.intent.action.MAIN" />
266 <category android:name="android.intent.category.LAUNCHER" />
267 </intent-filter>
268 </activity-alias>
269 <activity-alias android:name="Activity12" android:exported="true"
270 android:label="TestActivity12"
271 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
272 <intent-filter>
273 <action android:name="android.intent.action.MAIN" />
274 <category android:name="android.intent.category.LAUNCHER" />
Vadim Trysheva8700f62018-08-30 16:01:47 -0700275 </intent-filter>
276 </activity-alias>
Alex Chau4f7952e2021-12-06 13:04:57 +0000277 <activity-alias android:name="Activity13" android:exported="true"
278 android:label="TestActivity13"
279 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
280 <intent-filter>
281 <action android:name="android.intent.action.MAIN" />
282 <category android:name="android.intent.category.LAUNCHER" />
283 </intent-filter>
284 </activity-alias>
285 <activity-alias android:name="Activity14" android:exported="true"
286 android:label="TestActivity14"
287 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
288 <intent-filter>
289 <action android:name="android.intent.action.MAIN" />
290 <category android:name="android.intent.category.LAUNCHER" />
291 </intent-filter>
292 </activity-alias>
Sunny Goyalbcec90b2022-02-24 14:21:44 -0800293 <activity-alias android:name="Activity15" android:exported="true"
Sunny Goyal62ea1f12023-01-04 12:34:49 -0800294 android:label="IconThemedActivity"
Sunny Goyalbcec90b2022-02-24 14:21:44 -0800295 android:icon="@drawable/test_theme_icon"
296 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
297 <intent-filter>
298 <action android:name="android.intent.action.MAIN" />
299 <category android:name="android.intent.category.LAUNCHER" />
300 </intent-filter>
301 </activity-alias>
Charlie Anderson6702ed12023-04-14 11:27:34 -0400302 <activity-alias android:name="MaxShortcutsActivity"
303 android:label="TestActivityMaxShortcuts"
304 android:exported="true"
305 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
306 <intent-filter>
307 <action android:name="android.intent.action.MAIN"/>
308 <category android:name="android.intent.category.LAUNCHER"/>
309 </intent-filter>
310 <meta-data android:name="android.app.shortcuts"
311 android:resource="@xml/max_shortcuts"/>
312 </activity-alias>
313 <activity-alias android:name="SingleShortcutActivity"
314 android:label="TestActivitySingleShortcut"
315 android:exported="true"
316 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
317 <intent-filter>
318 <action android:name="android.intent.action.MAIN"/>
319 <category android:name="android.intent.category.LAUNCHER"/>
320 </intent-filter>
321 <meta-data android:name="android.app.shortcuts"
322 android:resource="@xml/single_shortcut"/>
323 </activity-alias>
Sunny Goyal39b07fd2022-10-27 13:19:47 -0700324 <activity
325 android:name="com.android.launcher3.testcomponent.DialogTestActivity"
326 android:label="Dialog Activity"
327 android:theme="@android:style/Theme.Dialog"
328 android:exported="true"
329 android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
330 <intent-filter>
331 <action android:name="android.intent.action.MAIN"/>
332 <category android:name="android.intent.category.LAUNCHER"/>
333 </intent-filter>
334 </activity>
Ming-Shin Lu4d4f62a2022-09-15 09:36:45 +0800335 <activity android:name="com.android.launcher3.testcomponent.ImeTestActivity"
336 android:label="ImeTestActivity"
337 android:icon="@drawable/test_theme_icon"
338 android:exported="true">
339 <intent-filter>
340 <action android:name="android.intent.action.MAIN" />
341 <category android:name="android.intent.category.LAUNCHER" />
342 </intent-filter>
343 </activity>
344
Alan Viverette58dd9352021-08-25 22:06:47 +0000345 <!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
346 <provider
347 android:name="androidx.startup.InitializationProvider"
348 android:authorities="${applicationId}.androidx-startup"
349 tools:node="remove" />
Sunny Goyal658058b2017-01-21 01:33:02 -0800350 </application>
351</manifest>