blob: 4af8468765452bd7acccddb4ee63f02d8451acec [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"/>
vadimt94734212019-08-05 17:31:53 -070027
Sunny Goyal4af8cf92021-07-29 15:48:24 -070028 <application android:debuggable="true" android:extractNativeLibs="true">
vadimtb96898a2019-04-05 18:35:29 -070029 <uses-library android:name="android.test.runner"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080030
Sunny Goyald9843352017-01-25 11:19:59 -080031 <receiver
32 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070033 android:exported="true"
Sunny Goyald9843352017-01-25 11:19:59 -080034 android:label="No Config">
Sunny Goyal658058b2017-01-21 01:33:02 -080035 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070036 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080037 </intent-filter>
38 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070039 android:resource="@xml/appwidget_no_config"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080040 </receiver>
41
Winson Chung1054d4e2018-03-05 19:39:21 +000042 <receiver
43 android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070044 android:exported="true"
Winson Chung1054d4e2018-03-05 19:39:21 +000045 android:label="Hidden widget">
46 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070047 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Winson Chung1054d4e2018-03-05 19:39:21 +000048 </intent-filter>
49 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070050 android:resource="@xml/appwidget_hidden"/>
Winson Chung1054d4e2018-03-05 19:39:21 +000051 </receiver>
52
Sunny Goyald9843352017-01-25 11:19:59 -080053 <receiver
54 android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070055 android:exported="true"
Sunny Goyald9843352017-01-25 11:19:59 -080056 android:label="With Config">
Sunny Goyal658058b2017-01-21 01:33:02 -080057 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070058 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080059 </intent-filter>
60 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070061 android:resource="@xml/appwidget_with_config"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080062 </receiver>
63
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +000064 <receiver
Sunny Goyal39b07fd2022-10-27 13:19:47 -070065 android:name="com.android.launcher3.testcomponent.AppWidgetWithDialog"
66 android:exported="true"
67 android:label="With Dialog">
68 <intent-filter>
69 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
70 </intent-filter>
71 <meta-data android:name="android.appwidget.provider"
72 android:resource="@xml/appwidget_no_config"/>
73 </receiver>
74
75 <receiver
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +000076 android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors"
77 android:exported="true"
78 android:label="Dynamic Colors">
79 <intent-filter>
80 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
81 </intent-filter>
82 <meta-data android:name="android.appwidget.provider"
83 android:resource="@xml/appwidget_dynamic_colors"/>
84 </receiver>
85
Sunny Goyal658058b2017-01-21 01:33:02 -080086 <activity
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070087 android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"
88 android:exported="true">
Sunny Goyal658058b2017-01-21 01:33:02 -080089 <intent-filter>
90 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
91 </intent-filter>
92 </activity>
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070093 <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"
94 android:exported="true">
Pinyao Tingd625e492019-10-02 11:25:44 -070095 <intent-filter>
96 <action android:name="android.intent.action.CREATE_SHORTCUT" />
97 <category android:name="android.intent.category.DEFAULT" />
98 </intent-filter>
99 </activity>
Sunny Goyald9843352017-01-25 11:19:59 -0800100 <activity
101 android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
vadimtb96898a2019-04-05 18:35:29 -0700102 android:icon="@drawable/test_drawable_pin_item"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700103 android:exported="true"
vadimtb96898a2019-04-05 18:35:29 -0700104 android:label="Test Pin Item">
Sunny Goyald9843352017-01-25 11:19:59 -0800105 <intent-filter>
106 <action android:name="android.intent.action.MAIN"/>
107 <category android:name="android.intent.category.LAUNCHER"/>
Sunny Goyald9843352017-01-25 11:19:59 -0800108 </intent-filter>
109 </activity>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700110
Sunny Goyal8f90d5d2019-09-18 22:29:40 -0700111 <service
112 android:name="com.android.launcher3.testcomponent.ListViewService"
113 android:permission="android.permission.BIND_REMOTEVIEWS" />
114
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700115 <provider
Sunny Goyal8f90d5d2019-09-18 22:29:40 -0700116 android:name="com.android.launcher3.testcomponent.TestCommandProvider"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700117 android:authorities="${packageName}.commands"
vadimtb96898a2019-04-05 18:35:29 -0700118 android:exported="true"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700119
120 <activity
121 android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700122 android:clearTaskOnLaunch="true"
Alex Chau84fe75d2021-11-03 17:07:16 +0000123 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
vadimtb96898a2019-04-05 18:35:29 -0700124 android:enabled="false"
125 android:label="Test launcher"
126 android:launchMode="singleTask"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700127 android:process=":testLauncherProcess"
vadimtb96898a2019-04-05 18:35:29 -0700128 android:resizeableActivity="true"
129 android:screenOrientation="unspecified"
130 android:stateNotNeeded="true"
131 android:taskAffinity=""
132 android:theme="@android:style/Theme.DeviceDefault.Light"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700133 android:exported="true"
vadimtb96898a2019-04-05 18:35:29 -0700134 android:windowSoftInputMode="adjustPan">
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700135 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -0700136 <action android:name="android.intent.action.MAIN"/>
137 <category android:name="android.intent.category.HOME"/>
138 <category android:name="android.intent.category.DEFAULT"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700139 <category android:name="android.intent.category.MONKEY"/>
vadimtb96898a2019-04-05 18:35:29 -0700140 <category android:name="android.intent.category.LAUNCHER_APP"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700141 </intent-filter>
142 </activity>
vadimtfb0cb7a2019-04-04 17:35:57 -0700143 <activity
144 android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
vadimtf1e0c902019-04-30 19:54:43 -0700145 android:label="LauncherTestApp"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700146 android:exported="true"
vadimtf1e0c902019-04-30 19:54:43 -0700147 android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
vadimtfb0cb7a2019-04-04 17:35:57 -0700148 <intent-filter>
149 <action android:name="android.intent.action.MAIN"/>
150 <category android:name="android.intent.category.LAUNCHER"/>
Schneider Victor-tuliasfb252e72022-02-10 11:10:21 -0800151 <category android:name="android.intent.category.DEFAULT"/>
vadimtfb0cb7a2019-04-04 17:35:57 -0700152 </intent-filter>
vadimtb96898a2019-04-05 18:35:29 -0700153 <intent-filter>
154 <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
155 <category android:name="android.intent.category.DEFAULT"/>
156 </intent-filter>
157 <meta-data android:name="android.app.shortcuts"
158 android:resource="@xml/shortcuts"/>
vadimtfb0cb7a2019-04-04 17:35:57 -0700159 </activity>
Pat Manningccec1de2021-10-06 11:10:12 +0000160 <activity
161 android:name="com.android.launcher3.testcomponent.OtherBaseTestingActivity"
162 android:label="OtherLauncherTestApp"
163 android:exported="true"
164 android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
165 <intent-filter>
166 <action android:name="android.intent.action.MAIN"/>
167 <category android:name="android.intent.category.LAUNCHER"/>
168 </intent-filter>
169 </activity>
vadimtdb4afbb2019-04-30 18:19:50 -0700170 <activity-alias android:name="Activity2"
171 android:label="TestActivity2"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700172 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700173 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
174 <intent-filter>
175 <action android:name="android.intent.action.MAIN"/>
176 <category android:name="android.intent.category.LAUNCHER"/>
177 </intent-filter>
178 </activity-alias>
179 <activity-alias android:name="Activity3"
180 android:label="TestActivity3"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700181 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700182 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
183 <intent-filter>
184 <action android:name="android.intent.action.MAIN"/>
185 <category android:name="android.intent.category.LAUNCHER"/>
186 </intent-filter>
187 </activity-alias>
188 <activity-alias android:name="Activity4"
189 android:label="TestActivity4"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700190 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700191 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
192 <intent-filter>
193 <action android:name="android.intent.action.MAIN"/>
194 <category android:name="android.intent.category.LAUNCHER"/>
195 </intent-filter>
196 </activity-alias>
197 <activity-alias android:name="Activity5"
198 android:label="TestActivity5"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700199 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700200 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
201 <intent-filter>
202 <action android:name="android.intent.action.MAIN"/>
203 <category android:name="android.intent.category.LAUNCHER"/>
204 </intent-filter>
205 </activity-alias>
206 <activity-alias android:name="Activity6"
207 android:label="TestActivity6"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700208 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700209 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
210 <intent-filter>
211 <action android:name="android.intent.action.MAIN"/>
212 <category android:name="android.intent.category.LAUNCHER"/>
213 </intent-filter>
214 </activity-alias>
215 <activity-alias android:name="Activity7"
216 android:label="TestActivity7"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700217 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700218 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
219 <intent-filter>
220 <action android:name="android.intent.action.MAIN"/>
221 <category android:name="android.intent.category.LAUNCHER"/>
222 </intent-filter>
223 </activity-alias>
224 <activity-alias android:name="Activity8"
225 android:label="TestActivity8"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700226 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700227 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
228 <intent-filter>
229 <action android:name="android.intent.action.MAIN"/>
230 <category android:name="android.intent.category.LAUNCHER"/>
231 </intent-filter>
232 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000233 <activity-alias android:name="Activity9" android:exported="true"
234 android:label="TestActivity9"
235 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
vadimtdb4afbb2019-04-30 18:19:50 -0700236 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000237 <action android:name="android.intent.action.MAIN" />
238 <category android:name="android.intent.category.LAUNCHER" />
vadimtdb4afbb2019-04-30 18:19:50 -0700239 </intent-filter>
240 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000241 <activity-alias android:name="Activity10" android:exported="true"
242 android:label="TestActivity10"
243 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
vadimtdb4afbb2019-04-30 18:19:50 -0700244 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000245 <action android:name="android.intent.action.MAIN" />
246 <category android:name="android.intent.category.LAUNCHER" />
vadimtdb4afbb2019-04-30 18:19:50 -0700247 </intent-filter>
248 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000249 <activity-alias android:name="Activity11" android:exported="true"
250 android:label="TestActivity11"
251 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
Vadim Trysheva8700f62018-08-30 16:01:47 -0700252 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000253 <action android:name="android.intent.action.MAIN" />
254 <category android:name="android.intent.category.LAUNCHER" />
255 </intent-filter>
256 </activity-alias>
257 <activity-alias android:name="Activity12" android:exported="true"
258 android:label="TestActivity12"
259 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
260 <intent-filter>
261 <action android:name="android.intent.action.MAIN" />
262 <category android:name="android.intent.category.LAUNCHER" />
Vadim Trysheva8700f62018-08-30 16:01:47 -0700263 </intent-filter>
264 </activity-alias>
Alex Chau4f7952e2021-12-06 13:04:57 +0000265 <activity-alias android:name="Activity13" android:exported="true"
266 android:label="TestActivity13"
267 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
268 <intent-filter>
269 <action android:name="android.intent.action.MAIN" />
270 <category android:name="android.intent.category.LAUNCHER" />
271 </intent-filter>
272 </activity-alias>
273 <activity-alias android:name="Activity14" android:exported="true"
274 android:label="TestActivity14"
275 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
276 <intent-filter>
277 <action android:name="android.intent.action.MAIN" />
278 <category android:name="android.intent.category.LAUNCHER" />
279 </intent-filter>
280 </activity-alias>
Sunny Goyalbcec90b2022-02-24 14:21:44 -0800281 <activity-alias android:name="Activity15" android:exported="true"
282 android:label="ThemeIconTestActivity"
283 android:icon="@drawable/test_theme_icon"
284 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
285 <intent-filter>
286 <action android:name="android.intent.action.MAIN" />
287 <category android:name="android.intent.category.LAUNCHER" />
288 </intent-filter>
289 </activity-alias>
Sunny Goyal39b07fd2022-10-27 13:19:47 -0700290 <activity
291 android:name="com.android.launcher3.testcomponent.DialogTestActivity"
292 android:label="Dialog Activity"
293 android:theme="@android:style/Theme.Dialog"
294 android:exported="true"
295 android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
296 <intent-filter>
297 <action android:name="android.intent.action.MAIN"/>
298 <category android:name="android.intent.category.LAUNCHER"/>
299 </intent-filter>
300 </activity>
Ming-Shin Lu4d4f62a2022-09-15 09:36:45 +0800301 <activity android:name="com.android.launcher3.testcomponent.ImeTestActivity"
302 android:label="ImeTestActivity"
303 android:icon="@drawable/test_theme_icon"
304 android:exported="true">
305 <intent-filter>
306 <action android:name="android.intent.action.MAIN" />
307 <category android:name="android.intent.category.LAUNCHER" />
308 </intent-filter>
309 </activity>
310
Alan Viverette58dd9352021-08-25 22:06:47 +0000311 <!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
312 <provider
313 android:name="androidx.startup.InitializationProvider"
314 android:authorities="${applicationId}.androidx-startup"
315 tools:node="remove" />
Sunny Goyal658058b2017-01-21 01:33:02 -0800316 </application>
317</manifest>