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 xmlns:tools="http://schemas.android.com/tools" 20 package="com.android.launcher3.tests"> 21 22 <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/> 23 24 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/> 25 <uses-permission android:name="android.permission.READ_LOGS"/> 26 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 27 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 28 29 <application android:debuggable="true" android:extractNativeLibs="true"> 30 <uses-library android:name="android.test.runner"/> 31 32 <receiver 33 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig" 34 android:exported="true" 35 android:icon="@drawable/test_widget_no_config_icon" 36 android:label="No Config"> 37 <intent-filter> 38 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 39 </intent-filter> 40 <meta-data android:name="android.appwidget.provider" 41 android:resource="@xml/appwidget_no_config"/> 42 </receiver> 43 44 <receiver 45 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfigLarge" 46 android:exported="true" 47 android:label="No Config Large"> 48 <intent-filter> 49 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 50 </intent-filter> 51 <meta-data android:name="android.appwidget.provider" 52 android:resource="@xml/appwidget_no_config_large"/> 53 </receiver> 54 55 <receiver 56 android:name="com.android.launcher3.testcomponent.AppWdigetHidden" 57 android:exported="true" 58 android:label="Hidden widget"> 59 <intent-filter> 60 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 61 </intent-filter> 62 <meta-data android:name="android.appwidget.provider" 63 android:resource="@xml/appwidget_hidden"/> 64 </receiver> 65 66 <receiver 67 android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig" 68 android:exported="true" 69 android:icon="@drawable/test_widget_with_config_icon" 70 android:label="With Config"> 71 <intent-filter> 72 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 73 </intent-filter> 74 <meta-data android:name="android.appwidget.provider" 75 android:resource="@xml/appwidget_with_config"/> 76 </receiver> 77 78 <receiver 79 android:name="com.android.launcher3.testcomponent.AppWidgetWithDialog" 80 android:exported="true" 81 android:icon="@drawable/test_widget_with_dialog_icon" 82 android:label="With Dialog"> 83 <intent-filter> 84 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 85 </intent-filter> 86 <meta-data android:name="android.appwidget.provider" 87 android:resource="@xml/appwidget_no_config"/> 88 </receiver> 89 90 <receiver 91 android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors" 92 android:exported="true" 93 android:icon="@drawable/test_widget_dynamic_colors_icon" 94 android:label="Dynamic Colors"> 95 <intent-filter> 96 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 97 </intent-filter> 98 <meta-data android:name="android.appwidget.provider" 99 android:resource="@xml/appwidget_dynamic_colors"/> 100 </receiver> 101 102 <activity 103 android:name="com.android.launcher3.testcomponent.WidgetConfigActivity" 104 android:exported="true"> 105 <intent-filter> 106 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/> 107 </intent-filter> 108 </activity> 109 <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity" 110 android:exported="true"> 111 <intent-filter> 112 <action android:name="android.intent.action.CREATE_SHORTCUT" /> 113 <category android:name="android.intent.category.DEFAULT" /> 114 </intent-filter> 115 </activity> 116 <activity 117 android:name="com.android.launcher3.testcomponent.RequestPinItemActivity" 118 android:icon="@drawable/test_drawable_pin_item" 119 android:exported="true" 120 android:label="Test Pin Item"> 121 <intent-filter> 122 <action android:name="android.intent.action.MAIN"/> 123 <category android:name="android.intent.category.LAUNCHER"/> 124 </intent-filter> 125 </activity> 126 127 <service 128 android:name="com.android.launcher3.testcomponent.ListViewService" 129 android:permission="android.permission.BIND_REMOTEVIEWS" /> 130 131 <provider 132 android:name="com.android.launcher3.testcomponent.TestCommandProvider" 133 android:authorities="${packageName}.commands" 134 android:exported="true"/> 135 136 <activity 137 android:name="com.android.launcher3.testcomponent.TestLauncherActivity" 138 android:clearTaskOnLaunch="true" 139 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize" 140 android:enabled="false" 141 android:label="Test launcher" 142 android:launchMode="singleTask" 143 android:process=":testLauncherProcess" 144 android:resizeableActivity="true" 145 android:screenOrientation="unspecified" 146 android:stateNotNeeded="true" 147 android:taskAffinity="" 148 android:theme="@android:style/Theme.DeviceDefault.Light" 149 android:exported="true" 150 android:windowSoftInputMode="adjustPan"> 151 <intent-filter> 152 <action android:name="android.intent.action.MAIN"/> 153 <category android:name="android.intent.category.HOME"/> 154 <category android:name="android.intent.category.DEFAULT"/> 155 <category android:name="android.intent.category.MONKEY"/> 156 <category android:name="android.intent.category.LAUNCHER_APP"/> 157 </intent-filter> 158 </activity> 159 <activity 160 android:name="com.android.launcher3.testcomponent.BaseTestingActivity" 161 android:label="LauncherTestApp" 162 android:exported="true" 163 android:taskAffinity="com.android.launcher3.testcomponent.Affinity1"> 164 <intent-filter> 165 <action android:name="android.intent.action.MAIN"/> 166 <category android:name="android.intent.category.LAUNCHER"/> 167 <category android:name="android.intent.category.DEFAULT"/> 168 </intent-filter> 169 <intent-filter> 170 <action android:name="com.android.launcher3.intent.action.test_shortcut"/> 171 <category android:name="android.intent.category.DEFAULT"/> 172 </intent-filter> 173 <meta-data android:name="android.app.shortcuts" 174 android:resource="@xml/shortcuts"/> 175 </activity> 176 <activity 177 android:name="com.android.launcher3.testcomponent.OtherBaseTestingActivity" 178 android:label="OtherLauncherTestApp" 179 android:exported="true" 180 android:taskAffinity="com.android.launcher3.testcomponent.Affinity2"> 181 <intent-filter> 182 <action android:name="android.intent.action.MAIN"/> 183 <category android:name="android.intent.category.LAUNCHER"/> 184 </intent-filter> 185 </activity> 186 <activity-alias android:name="Activity2" 187 android:label="TestActivity2" 188 android:exported="true" 189 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 190 <intent-filter> 191 <action android:name="android.intent.action.MAIN"/> 192 <category android:name="android.intent.category.LAUNCHER"/> 193 </intent-filter> 194 </activity-alias> 195 <activity-alias android:name="Activity3" 196 android:label="TestActivity3" 197 android:exported="true" 198 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 199 <intent-filter> 200 <action android:name="android.intent.action.MAIN"/> 201 <category android:name="android.intent.category.LAUNCHER"/> 202 </intent-filter> 203 </activity-alias> 204 <activity-alias android:name="Activity4" 205 android:label="TestActivity4" 206 android:exported="true" 207 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 208 <intent-filter> 209 <action android:name="android.intent.action.MAIN"/> 210 <category android:name="android.intent.category.LAUNCHER"/> 211 </intent-filter> 212 </activity-alias> 213 <activity-alias android:name="Activity5" 214 android:label="TestActivity5" 215 android:exported="true" 216 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 217 <intent-filter> 218 <action android:name="android.intent.action.MAIN"/> 219 <category android:name="android.intent.category.LAUNCHER"/> 220 </intent-filter> 221 </activity-alias> 222 <activity-alias android:name="Activity6" 223 android:label="TestActivity6" 224 android:exported="true" 225 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 226 <intent-filter> 227 <action android:name="android.intent.action.MAIN"/> 228 <category android:name="android.intent.category.LAUNCHER"/> 229 </intent-filter> 230 </activity-alias> 231 <activity-alias android:name="Activity7" 232 android:label="TestActivity7" 233 android:exported="true" 234 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 235 <intent-filter> 236 <action android:name="android.intent.action.MAIN"/> 237 <category android:name="android.intent.category.LAUNCHER"/> 238 </intent-filter> 239 </activity-alias> 240 <activity-alias android:name="Activity8" 241 android:label="TestActivity8" 242 android:exported="true" 243 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 244 <intent-filter> 245 <action android:name="android.intent.action.MAIN"/> 246 <category android:name="android.intent.category.LAUNCHER"/> 247 </intent-filter> 248 </activity-alias> 249 <activity-alias android:name="Activity9" android:exported="true" 250 android:label="TestActivity9" 251 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity"> 252 <intent-filter> 253 <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="Activity10" android:exported="true" 258 android:label="TestActivity10" 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" /> 263 </intent-filter> 264 </activity-alias> 265 <activity-alias android:name="Activity11" android:exported="true" 266 android:label="TestActivity11" 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="Activity12" android:exported="true" 274 android:label="TestActivity12" 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> 281 <activity-alias android:name="Activity13" android:exported="true" 282 android:label="TestActivity13" 283 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity"> 284 <intent-filter> 285 <action android:name="android.intent.action.MAIN" /> 286 <category android:name="android.intent.category.LAUNCHER" /> 287 </intent-filter> 288 </activity-alias> 289 <activity-alias android:name="Activity14" android:exported="true" 290 android:label="TestActivity14" 291 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity"> 292 <intent-filter> 293 <action android:name="android.intent.action.MAIN" /> 294 <category android:name="android.intent.category.LAUNCHER" /> 295 </intent-filter> 296 </activity-alias> 297 <activity-alias android:name="Activity15" android:exported="true" 298 android:label="IconThemedActivity" 299 android:icon="@drawable/test_theme_icon" 300 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity"> 301 <intent-filter> 302 <action android:name="android.intent.action.MAIN" /> 303 <category android:name="android.intent.category.LAUNCHER" /> 304 </intent-filter> 305 </activity-alias> 306 <activity-alias android:name="MaxShortcutsActivity" 307 android:label="TestActivityMaxShortcuts" 308 android:exported="true" 309 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity"> 310 <intent-filter> 311 <action android:name="android.intent.action.MAIN"/> 312 <category android:name="android.intent.category.LAUNCHER"/> 313 </intent-filter> 314 <meta-data android:name="android.app.shortcuts" 315 android:resource="@xml/max_shortcuts"/> 316 </activity-alias> 317 <activity-alias android:name="SingleShortcutActivity" 318 android:label="TestActivitySingleShortcut" 319 android:exported="true" 320 android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity"> 321 <intent-filter> 322 <action android:name="android.intent.action.MAIN"/> 323 <category android:name="android.intent.category.LAUNCHER"/> 324 </intent-filter> 325 <meta-data android:name="android.app.shortcuts" 326 android:resource="@xml/single_shortcut"/> 327 </activity-alias> 328 <activity 329 android:name="com.android.launcher3.testcomponent.DialogTestActivity" 330 android:label="Dialog Activity" 331 android:theme="@android:style/Theme.Dialog" 332 android:exported="true" 333 android:taskAffinity="com.android.launcher3.testcomponent.Affinity2"> 334 <intent-filter> 335 <action android:name="android.intent.action.MAIN"/> 336 <category android:name="android.intent.category.LAUNCHER"/> 337 </intent-filter> 338 </activity> 339 <activity android:name="com.android.launcher3.testcomponent.ImeTestActivity" 340 android:label="ImeTestActivity" 341 android:icon="@drawable/test_theme_icon" 342 android:exported="true"> 343 <intent-filter> 344 <action android:name="android.intent.action.MAIN" /> 345 <category android:name="android.intent.category.LAUNCHER" /> 346 </intent-filter> 347 </activity> 348 <activity-alias android:name="WebSearchActivity" 349 android:label="WebSearchActivity" 350 android:exported="true" 351 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 352 <intent-filter> 353 <action android:name="android.intent.action.WEB_SEARCH" /> 354 <category android:name="android.intent.category.DEFAULT" /> 355 </intent-filter> 356 </activity-alias> 357 358 <!-- [b/197780098] Disable eager initialization of Jetpack libraries. --> 359 <provider 360 android:name="androidx.startup.InitializationProvider" 361 android:authorities="${applicationId}.androidx-startup" 362 tools:node="remove" /> 363 </application> 364</manifest> 365