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 package="com.android.launcher3.tests"> 20 21 <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/> 22 23 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/> 24 <uses-permission android:name="android.permission.READ_LOGS"/> 25 26 <application android:debuggable="true"> 27 <uses-library android:name="android.test.runner"/> 28 29 <receiver 30 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig" 31 android:label="No Config"> 32 <intent-filter> 33 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 34 </intent-filter> 35 <meta-data android:name="android.appwidget.provider" 36 android:resource="@xml/appwidget_no_config"/> 37 </receiver> 38 39 <receiver 40 android:name="com.android.launcher3.testcomponent.AppWdigetHidden" 41 android:label="Hidden widget"> 42 <intent-filter> 43 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 44 </intent-filter> 45 <meta-data android:name="android.appwidget.provider" 46 android:resource="@xml/appwidget_hidden"/> 47 </receiver> 48 49 <receiver 50 android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig" 51 android:label="With Config"> 52 <intent-filter> 53 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 54 </intent-filter> 55 <meta-data android:name="android.appwidget.provider" 56 android:resource="@xml/appwidget_with_config"/> 57 </receiver> 58 59 <activity 60 android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"> 61 <intent-filter> 62 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/> 63 </intent-filter> 64 </activity> 65 <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"> 66 <intent-filter> 67 <action android:name="android.intent.action.CREATE_SHORTCUT" /> 68 <category android:name="android.intent.category.DEFAULT" /> 69 </intent-filter> 70 </activity> 71 <activity 72 android:name="com.android.launcher3.testcomponent.RequestPinItemActivity" 73 android:icon="@drawable/test_drawable_pin_item" 74 android:label="Test Pin Item"> 75 <intent-filter> 76 <action android:name="android.intent.action.MAIN"/> 77 <category android:name="android.intent.category.LAUNCHER"/> 78 <category android:name="android.intent.category.DEFAULT"/> 79 </intent-filter> 80 </activity> 81 82 <provider 83 android:name="com.android.launcher3.testcomponent.TestCommandReceiver" 84 android:authorities="${packageName}.commands" 85 android:exported="true"/> 86 87 <activity 88 android:name="com.android.launcher3.testcomponent.TestLauncherActivity" 89 android:clearTaskOnLaunch="true" 90 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize" 91 android:enabled="false" 92 android:label="Test launcher" 93 android:launchMode="singleTask" 94 android:process=":testLauncherProcess" 95 android:resizeableActivity="true" 96 android:screenOrientation="unspecified" 97 android:stateNotNeeded="true" 98 android:taskAffinity="" 99 android:theme="@android:style/Theme.DeviceDefault.Light" 100 android:windowSoftInputMode="adjustPan"> 101 <intent-filter> 102 <action android:name="android.intent.action.MAIN"/> 103 <category android:name="android.intent.category.HOME"/> 104 <category android:name="android.intent.category.DEFAULT"/> 105 <category android:name="android.intent.category.MONKEY"/> 106 <category android:name="android.intent.category.LAUNCHER_APP"/> 107 </intent-filter> 108 </activity> 109 <activity 110 android:name="com.android.launcher3.testcomponent.BaseTestingActivity" 111 android:label="LauncherTestApp" 112 android:taskAffinity="com.android.launcher3.testcomponent.Affinity1"> 113 <intent-filter> 114 <action android:name="android.intent.action.MAIN"/> 115 <category android:name="android.intent.category.LAUNCHER"/> 116 </intent-filter> 117 <intent-filter> 118 <action android:name="com.android.launcher3.intent.action.test_shortcut"/> 119 <category android:name="android.intent.category.DEFAULT"/> 120 </intent-filter> 121 <meta-data android:name="android.app.shortcuts" 122 android:resource="@xml/shortcuts"/> 123 </activity> 124 <activity-alias android:name="Activity2" 125 android:label="TestActivity2" 126 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 127 <intent-filter> 128 <action android:name="android.intent.action.MAIN"/> 129 <category android:name="android.intent.category.LAUNCHER"/> 130 </intent-filter> 131 </activity-alias> 132 <activity-alias android:name="Activity3" 133 android:label="TestActivity3" 134 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 135 <intent-filter> 136 <action android:name="android.intent.action.MAIN"/> 137 <category android:name="android.intent.category.LAUNCHER"/> 138 </intent-filter> 139 </activity-alias> 140 <activity-alias android:name="Activity4" 141 android:label="TestActivity4" 142 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 143 <intent-filter> 144 <action android:name="android.intent.action.MAIN"/> 145 <category android:name="android.intent.category.LAUNCHER"/> 146 </intent-filter> 147 </activity-alias> 148 <activity-alias android:name="Activity5" 149 android:label="TestActivity5" 150 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 151 <intent-filter> 152 <action android:name="android.intent.action.MAIN"/> 153 <category android:name="android.intent.category.LAUNCHER"/> 154 </intent-filter> 155 </activity-alias> 156 <activity-alias android:name="Activity6" 157 android:label="TestActivity6" 158 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 159 <intent-filter> 160 <action android:name="android.intent.action.MAIN"/> 161 <category android:name="android.intent.category.LAUNCHER"/> 162 </intent-filter> 163 </activity-alias> 164 <activity-alias android:name="Activity7" 165 android:label="TestActivity7" 166 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 167 <intent-filter> 168 <action android:name="android.intent.action.MAIN"/> 169 <category android:name="android.intent.category.LAUNCHER"/> 170 </intent-filter> 171 </activity-alias> 172 <activity-alias android:name="Activity8" 173 android:label="TestActivity8" 174 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 175 <intent-filter> 176 <action android:name="android.intent.action.MAIN"/> 177 <category android:name="android.intent.category.LAUNCHER"/> 178 </intent-filter> 179 </activity-alias> 180 <activity-alias android:name="Activity9" 181 android:label="TestActivity9" 182 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="Activity10" 189 android:label="TestActivity10" 190 android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity"> 191 <intent-filter> 192 <action android:name="android.intent.action.MAIN"/> 193 <category android:name="android.intent.category.LAUNCHER"/> 194 </intent-filter> 195 </activity-alias> 196 <activity-alias android:name="Activity11" 197 android:label="TestActivity11" 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 </application> 205</manifest> 206