blob: 618ab418e36680692a9e455262eb0ecfe3db65c4 [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"
19 package="com.android.launcher3.tests">
20
vadimtb96898a2019-04-05 18:35:29 -070021 <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
Winson Chungb3fe6612018-10-29 10:45:25 -070022
vadimt94734212019-08-05 17:31:53 -070023 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
24 <uses-permission android:name="android.permission.READ_LOGS"/>
vadimtaad54ab2020-01-07 14:54:53 -080025 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
vadimt94734212019-08-05 17:31:53 -070026
Sunny Goyal4af8cf92021-07-29 15:48:24 -070027 <application android:debuggable="true" android:extractNativeLibs="true">
vadimtb96898a2019-04-05 18:35:29 -070028 <uses-library android:name="android.test.runner"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080029
Sunny Goyald9843352017-01-25 11:19:59 -080030 <receiver
31 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070032 android:exported="true"
Sunny Goyald9843352017-01-25 11:19:59 -080033 android:label="No Config">
Sunny Goyal658058b2017-01-21 01:33:02 -080034 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070035 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080036 </intent-filter>
37 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070038 android:resource="@xml/appwidget_no_config"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080039 </receiver>
40
Winson Chung1054d4e2018-03-05 19:39:21 +000041 <receiver
42 android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070043 android:exported="true"
Winson Chung1054d4e2018-03-05 19:39:21 +000044 android:label="Hidden widget">
45 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070046 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Winson Chung1054d4e2018-03-05 19:39:21 +000047 </intent-filter>
48 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070049 android:resource="@xml/appwidget_hidden"/>
Winson Chung1054d4e2018-03-05 19:39:21 +000050 </receiver>
51
Sunny Goyald9843352017-01-25 11:19:59 -080052 <receiver
53 android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070054 android:exported="true"
Sunny Goyald9843352017-01-25 11:19:59 -080055 android:label="With Config">
Sunny Goyal658058b2017-01-21 01:33:02 -080056 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -070057 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080058 </intent-filter>
59 <meta-data android:name="android.appwidget.provider"
vadimtb96898a2019-04-05 18:35:29 -070060 android:resource="@xml/appwidget_with_config"/>
Sunny Goyal658058b2017-01-21 01:33:02 -080061 </receiver>
62
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +000063 <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
Sunny Goyal658058b2017-01-21 01:33:02 -080074 <activity
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070075 android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"
76 android:exported="true">
Sunny Goyal658058b2017-01-21 01:33:02 -080077 <intent-filter>
78 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
79 </intent-filter>
80 </activity>
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070081 <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"
82 android:exported="true">
Pinyao Tingd625e492019-10-02 11:25:44 -070083 <intent-filter>
84 <action android:name="android.intent.action.CREATE_SHORTCUT" />
85 <category android:name="android.intent.category.DEFAULT" />
86 </intent-filter>
87 </activity>
Sunny Goyald9843352017-01-25 11:19:59 -080088 <activity
89 android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
vadimtb96898a2019-04-05 18:35:29 -070090 android:icon="@drawable/test_drawable_pin_item"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070091 android:exported="true"
vadimtb96898a2019-04-05 18:35:29 -070092 android:label="Test Pin Item">
Sunny Goyald9843352017-01-25 11:19:59 -080093 <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>
Sunny Goyal4ed58d62018-10-05 16:19:38 -070099
Sunny Goyal8f90d5d2019-09-18 22:29:40 -0700100 <service
101 android:name="com.android.launcher3.testcomponent.ListViewService"
102 android:permission="android.permission.BIND_REMOTEVIEWS" />
103
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700104 <provider
Sunny Goyal8f90d5d2019-09-18 22:29:40 -0700105 android:name="com.android.launcher3.testcomponent.TestCommandProvider"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700106 android:authorities="${packageName}.commands"
vadimtb96898a2019-04-05 18:35:29 -0700107 android:exported="true"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700108
109 <activity
110 android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700111 android:clearTaskOnLaunch="true"
Alex Chau84fe75d2021-11-03 17:07:16 +0000112 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
vadimtb96898a2019-04-05 18:35:29 -0700113 android:enabled="false"
114 android:label="Test launcher"
115 android:launchMode="singleTask"
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700116 android:process=":testLauncherProcess"
vadimtb96898a2019-04-05 18:35:29 -0700117 android:resizeableActivity="true"
118 android:screenOrientation="unspecified"
119 android:stateNotNeeded="true"
120 android:taskAffinity=""
121 android:theme="@android:style/Theme.DeviceDefault.Light"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700122 android:exported="true"
vadimtb96898a2019-04-05 18:35:29 -0700123 android:windowSoftInputMode="adjustPan">
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700124 <intent-filter>
vadimtb96898a2019-04-05 18:35:29 -0700125 <action android:name="android.intent.action.MAIN"/>
126 <category android:name="android.intent.category.HOME"/>
127 <category android:name="android.intent.category.DEFAULT"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700128 <category android:name="android.intent.category.MONKEY"/>
vadimtb96898a2019-04-05 18:35:29 -0700129 <category android:name="android.intent.category.LAUNCHER_APP"/>
Sunny Goyal4ed58d62018-10-05 16:19:38 -0700130 </intent-filter>
131 </activity>
vadimtfb0cb7a2019-04-04 17:35:57 -0700132 <activity
133 android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
vadimtf1e0c902019-04-30 19:54:43 -0700134 android:label="LauncherTestApp"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700135 android:exported="true"
vadimtf1e0c902019-04-30 19:54:43 -0700136 android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
vadimtfb0cb7a2019-04-04 17:35:57 -0700137 <intent-filter>
138 <action android:name="android.intent.action.MAIN"/>
139 <category android:name="android.intent.category.LAUNCHER"/>
140 </intent-filter>
vadimtb96898a2019-04-05 18:35:29 -0700141 <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"/>
vadimtfb0cb7a2019-04-04 17:35:57 -0700147 </activity>
Pat Manningccec1de2021-10-06 11:10:12 +0000148 <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>
vadimtdb4afbb2019-04-30 18:19:50 -0700158 <activity-alias android:name="Activity2"
159 android:label="TestActivity2"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700160 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700161 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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700169 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700170 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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700178 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700179 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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700187 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700188 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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700196 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700197 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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700205 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700206 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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700214 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700215 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>
Pat Manningccec1de2021-10-06 11:10:12 +0000221 <activity-alias android:name="Activity9" android:exported="true"
222 android:label="TestActivity9"
223 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
vadimtdb4afbb2019-04-30 18:19:50 -0700224 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000225 <action android:name="android.intent.action.MAIN" />
226 <category android:name="android.intent.category.LAUNCHER" />
vadimtdb4afbb2019-04-30 18:19:50 -0700227 </intent-filter>
228 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000229 <activity-alias android:name="Activity10" android:exported="true"
230 android:label="TestActivity10"
231 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
vadimtdb4afbb2019-04-30 18:19:50 -0700232 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000233 <action android:name="android.intent.action.MAIN" />
234 <category android:name="android.intent.category.LAUNCHER" />
vadimtdb4afbb2019-04-30 18:19:50 -0700235 </intent-filter>
236 </activity-alias>
Pat Manningccec1de2021-10-06 11:10:12 +0000237 <activity-alias android:name="Activity11" android:exported="true"
238 android:label="TestActivity11"
239 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
Vadim Trysheva8700f62018-08-30 16:01:47 -0700240 <intent-filter>
Pat Manningccec1de2021-10-06 11:10:12 +0000241 <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" />
Vadim Trysheva8700f62018-08-30 16:01:47 -0700251 </intent-filter>
252 </activity-alias>
Alex Chau992db752021-12-06 13:04:57 +0000253 <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>
Sunny Goyal658058b2017-01-21 01:33:02 -0800269 </application>
270</manifest>