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 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 26 27 <application android:debuggable="true"> 28 <uses-library android:name="android.test.runner"/> 29 30 <receiver 31 android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig" 32 android:exported="true" 33 android:label="No Config"> 34 <intent-filter> 35 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 36 </intent-filter> 37 <meta-data android:name="android.appwidget.provider" 38 android:resource="@xml/appwidget_no_config"/> 39 </receiver> 40 41 <receiver 42 android:name="com.android.launcher3.testcomponent.AppWdigetHidden" 43 android:exported="true" 44 android:label="Hidden widget"> 45 <intent-filter> 46 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 47 </intent-filter> 48 <meta-data android:name="android.appwidget.provider" 49 android:resource="@xml/appwidget_hidden"/> 50 </receiver> 51 52 <receiver 53 android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig" 54 android:exported="true" 55 android:label="With Config"> 56 <intent-filter> 57 <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> 58 </intent-filter> 59 <meta-data android:name="android.appwidget.provider" 60 android:resource="@xml/appwidget_with_config"/> 61 </receiver> 62 63 <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 74 <activity 75 android:name="com.android.launcher3.testcomponent.WidgetConfigActivity" 76 android:exported="true"> 77 <intent-filter> 78 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/> 79 </intent-filter> 80 </activity> 81 <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity" 82 android:exported="true"> 83 <intent-filter> 84 <action android:name="android.intent.action.CREATE_SHORTCUT" /> 85 <category android:name="android.intent.category.DEFAULT" /> 86 </intent-filter> 87 </activity> 88 <activity 89 android:name="com.android.launcher3.testcomponent.RequestPinItemActivity" 90 android:icon="@drawable/test_drawable_pin_item" 91 android:exported="true" 92 android:label="Test Pin Item"> 93 <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> 99 100 <service 101 android:name="com.android.launcher3.testcomponent.ListViewService" 102 android:permission="android.permission.BIND_REMOTEVIEWS" /> 103 104 <provider 105 android:name="com.android.launcher3.testcomponent.TestCommandProvider" 106 android:authorities="${packageName}.commands" 107 android:exported="true"/> 108 109 <activity 110 android:name="com.android.launcher3.testcomponent.TestLauncherActivity" 111 android:clearTaskOnLaunch="true" 112 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize|density" 113 android:enabled="false" 114 android:label="Test launcher" 115 android:launchMode="singleTask" 116 android:process=":testLauncherProcess" 117 android:resizeableActivity="true" 118 android:screenOrientation="unspecified" 119 android:stateNotNeeded="true" 120 android:taskAffinity="" 121 android:theme="@android:style/Theme.DeviceDefault.Light" 122 android:exported="true" 123 android:windowSoftInputMode="adjustPan"> 124 <intent-filter> 125 <action android:name="android.intent.action.MAIN"/> 126 <category android:name="android.intent.category.HOME"/> 127 <category android:name="android.intent.category.DEFAULT"/> 128 <category android:name="android.intent.category.MONKEY"/> 129 <category android:name="android.intent.category.LAUNCHER_APP"/> 130 </intent-filter> 131 </activity> 132 <activity 133 android:name="com.android.launcher3.testcomponent.BaseTestingActivity" 134 android:label="LauncherTestApp" 135 android:exported="true" 136 android:taskAffinity="com.android.launcher3.testcomponent.Affinity1"> 137 <intent-filter> 138 <action android:name="android.intent.action.MAIN"/> 139 <category android:name="android.intent.category.LAUNCHER"/> 140 </intent-filter> 141 <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"/> 147 </activity> 148 <activity-alias android:name="Activity2" 149 android:label="TestActivity2" 150 android:exported="true" 151 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" 159 android:exported="true" 160 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" 168 android:exported="true" 169 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" 177 android:exported="true" 178 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" 186 android:exported="true" 187 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" 195 android:exported="true" 196 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" 204 android:exported="true" 205 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" 213 android:exported="true" 214 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" 222 android:exported="true" 223 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> 229 <activity-alias android:name="Activity11" 230 android:label="TestActivity11" 231 android:exported="true" 232 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> 238 </application> 239</manifest> 240