blob: 7f6c8f8a87429af427c9abab2e5a57e50830c8d0 [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 Goyal658058b2017-01-21 01:33:02 -080027 <application android:debuggable="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 Chau8c575c32021-03-01 12:20:26 +0000112 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout"
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>
vadimtdb4afbb2019-04-30 18:19:50 -0700148 <activity-alias android:name="Activity2"
149 android:label="TestActivity2"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700150 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700151 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
152 <intent-filter>
153 <action android:name="android.intent.action.MAIN"/>
154 <category android:name="android.intent.category.LAUNCHER"/>
155 </intent-filter>
156 </activity-alias>
157 <activity-alias android:name="Activity3"
158 android:label="TestActivity3"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700159 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700160 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
161 <intent-filter>
162 <action android:name="android.intent.action.MAIN"/>
163 <category android:name="android.intent.category.LAUNCHER"/>
164 </intent-filter>
165 </activity-alias>
166 <activity-alias android:name="Activity4"
167 android:label="TestActivity4"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700168 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700169 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
170 <intent-filter>
171 <action android:name="android.intent.action.MAIN"/>
172 <category android:name="android.intent.category.LAUNCHER"/>
173 </intent-filter>
174 </activity-alias>
175 <activity-alias android:name="Activity5"
176 android:label="TestActivity5"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700177 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700178 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
179 <intent-filter>
180 <action android:name="android.intent.action.MAIN"/>
181 <category android:name="android.intent.category.LAUNCHER"/>
182 </intent-filter>
183 </activity-alias>
184 <activity-alias android:name="Activity6"
185 android:label="TestActivity6"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700186 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700187 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
188 <intent-filter>
189 <action android:name="android.intent.action.MAIN"/>
190 <category android:name="android.intent.category.LAUNCHER"/>
191 </intent-filter>
192 </activity-alias>
193 <activity-alias android:name="Activity7"
194 android:label="TestActivity7"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700195 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700196 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
197 <intent-filter>
198 <action android:name="android.intent.action.MAIN"/>
199 <category android:name="android.intent.category.LAUNCHER"/>
200 </intent-filter>
201 </activity-alias>
202 <activity-alias android:name="Activity8"
203 android:label="TestActivity8"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700204 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700205 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
206 <intent-filter>
207 <action android:name="android.intent.action.MAIN"/>
208 <category android:name="android.intent.category.LAUNCHER"/>
209 </intent-filter>
210 </activity-alias>
211 <activity-alias android:name="Activity9"
212 android:label="TestActivity9"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700213 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700214 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
215 <intent-filter>
216 <action android:name="android.intent.action.MAIN"/>
217 <category android:name="android.intent.category.LAUNCHER"/>
218 </intent-filter>
219 </activity-alias>
220 <activity-alias android:name="Activity10"
221 android:label="TestActivity10"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700222 android:exported="true"
vadimtdb4afbb2019-04-30 18:19:50 -0700223 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
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>
Vadim Trysheva8700f62018-08-30 16:01:47 -0700229 <activity-alias android:name="Activity11"
230 android:label="TestActivity11"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700231 android:exported="true"
Vadim Trysheva8700f62018-08-30 16:01:47 -0700232 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
233 <intent-filter>
234 <action android:name="android.intent.action.MAIN"/>
235 <category android:name="android.intent.category.LAUNCHER"/>
236 </intent-filter>
237 </activity-alias>
Sunny Goyal658058b2017-01-21 01:33:02 -0800238 </application>
239</manifest>