AndroidManifest-common.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2017 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <manifest
  14. xmlns:android="http://schemas.android.com/apk/res/android"
  15. xmlns:tools="http://schemas.android.com/tools"
  16. package="com.android.launcher3.tests">
  17. <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
  18. <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
  19. <uses-permission android:name="android.permission.READ_LOGS"/>
  20. <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
  21. <application android:debuggable="true" android:extractNativeLibs="true">
  22. <uses-library android:name="android.test.runner"/>
  23. <receiver
  24. android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
  25. android:exported="true"
  26. android:label="No Config">
  27. <intent-filter>
  28. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  29. </intent-filter>
  30. <meta-data android:name="android.appwidget.provider"
  31. android:resource="@xml/appwidget_no_config"/>
  32. </receiver>
  33. <receiver
  34. android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
  35. android:exported="true"
  36. android:label="Hidden widget">
  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_hidden"/>
  42. </receiver>
  43. <receiver
  44. android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
  45. android:exported="true"
  46. android:label="With Config">
  47. <intent-filter>
  48. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  49. </intent-filter>
  50. <meta-data android:name="android.appwidget.provider"
  51. android:resource="@xml/appwidget_with_config"/>
  52. </receiver>
  53. <receiver
  54. android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors"
  55. android:exported="true"
  56. android:label="Dynamic Colors">
  57. <intent-filter>
  58. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  59. </intent-filter>
  60. <meta-data android:name="android.appwidget.provider"
  61. android:resource="@xml/appwidget_dynamic_colors"/>
  62. </receiver>
  63. <activity
  64. android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"
  65. android:exported="true">
  66. <intent-filter>
  67. <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
  68. </intent-filter>
  69. </activity>
  70. <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"
  71. android:exported="true">
  72. <intent-filter>
  73. <action android:name="android.intent.action.CREATE_SHORTCUT" />
  74. <category android:name="android.intent.category.DEFAULT" />
  75. </intent-filter>
  76. </activity>
  77. <activity
  78. android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
  79. android:icon="@drawable/test_drawable_pin_item"
  80. android:exported="true"
  81. android:label="Test Pin Item">
  82. <intent-filter>
  83. <action android:name="android.intent.action.MAIN"/>
  84. <category android:name="android.intent.category.LAUNCHER"/>
  85. </intent-filter>
  86. </activity>
  87. <service
  88. android:name="com.android.launcher3.testcomponent.ListViewService"
  89. android:permission="android.permission.BIND_REMOTEVIEWS" />
  90. <provider
  91. android:name="com.android.launcher3.testcomponent.TestCommandProvider"
  92. android:authorities="${packageName}.commands"
  93. android:exported="true"/>
  94. <activity
  95. android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
  96. android:clearTaskOnLaunch="true"
  97. android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
  98. android:enabled="false"
  99. android:label="Test launcher"
  100. android:launchMode="singleTask"
  101. android:process=":testLauncherProcess"
  102. android:resizeableActivity="true"
  103. android:screenOrientation="unspecified"
  104. android:stateNotNeeded="true"
  105. android:taskAffinity=""
  106. android:theme="@android:style/Theme.DeviceDefault.Light"
  107. android:exported="true"
  108. android:windowSoftInputMode="adjustPan">
  109. <intent-filter>
  110. <action android:name="android.intent.action.MAIN"/>
  111. <category android:name="android.intent.category.HOME"/>
  112. <category android:name="android.intent.category.DEFAULT"/>
  113. <category android:name="android.intent.category.MONKEY"/>
  114. <category android:name="android.intent.category.LAUNCHER_APP"/>
  115. </intent-filter>
  116. </activity>
  117. <activity
  118. android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
  119. android:label="LauncherTestApp"
  120. android:exported="true"
  121. android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
  122. <intent-filter>
  123. <action android:name="android.intent.action.MAIN"/>
  124. <category android:name="android.intent.category.LAUNCHER"/>
  125. <category android:name="android.intent.category.DEFAULT"/>
  126. </intent-filter>
  127. <intent-filter>
  128. <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
  129. <category android:name="android.intent.category.DEFAULT"/>
  130. </intent-filter>
  131. <meta-data android:name="android.app.shortcuts"
  132. android:resource="@xml/shortcuts"/>
  133. </activity>
  134. <activity
  135. android:name="com.android.launcher3.testcomponent.OtherBaseTestingActivity"
  136. android:label="OtherLauncherTestApp"
  137. android:exported="true"
  138. android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
  139. <intent-filter>
  140. <action android:name="android.intent.action.MAIN"/>
  141. <category android:name="android.intent.category.LAUNCHER"/>
  142. </intent-filter>
  143. </activity>
  144. <activity-alias android:name="Activity2"
  145. android:label="TestActivity2"
  146. android:exported="true"
  147. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  148. <intent-filter>
  149. <action android:name="android.intent.action.MAIN"/>
  150. <category android:name="android.intent.category.LAUNCHER"/>
  151. </intent-filter>
  152. </activity-alias>
  153. <activity-alias android:name="Activity3"
  154. android:label="TestActivity3"
  155. android:exported="true"
  156. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  157. <intent-filter>
  158. <action android:name="android.intent.action.MAIN"/>
  159. <category android:name="android.intent.category.LAUNCHER"/>
  160. </intent-filter>
  161. </activity-alias>
  162. <activity-alias android:name="Activity4"
  163. android:label="TestActivity4"
  164. android:exported="true"
  165. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  166. <intent-filter>
  167. <action android:name="android.intent.action.MAIN"/>
  168. <category android:name="android.intent.category.LAUNCHER"/>
  169. </intent-filter>
  170. </activity-alias>
  171. <activity-alias android:name="Activity5"
  172. android:label="TestActivity5"
  173. android:exported="true"
  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="Activity6"
  181. android:label="TestActivity6"
  182. android:exported="true"
  183. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  184. <intent-filter>
  185. <action android:name="android.intent.action.MAIN"/>
  186. <category android:name="android.intent.category.LAUNCHER"/>
  187. </intent-filter>
  188. </activity-alias>
  189. <activity-alias android:name="Activity7"
  190. android:label="TestActivity7"
  191. android:exported="true"
  192. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  193. <intent-filter>
  194. <action android:name="android.intent.action.MAIN"/>
  195. <category android:name="android.intent.category.LAUNCHER"/>
  196. </intent-filter>
  197. </activity-alias>
  198. <activity-alias android:name="Activity8"
  199. android:label="TestActivity8"
  200. android:exported="true"
  201. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  202. <intent-filter>
  203. <action android:name="android.intent.action.MAIN"/>
  204. <category android:name="android.intent.category.LAUNCHER"/>
  205. </intent-filter>
  206. </activity-alias>
  207. <activity-alias android:name="Activity9" android:exported="true"
  208. android:label="TestActivity9"
  209. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  210. <intent-filter>
  211. <action android:name="android.intent.action.MAIN" />
  212. <category android:name="android.intent.category.LAUNCHER" />
  213. </intent-filter>
  214. </activity-alias>
  215. <activity-alias android:name="Activity10" android:exported="true"
  216. android:label="TestActivity10"
  217. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  218. <intent-filter>
  219. <action android:name="android.intent.action.MAIN" />
  220. <category android:name="android.intent.category.LAUNCHER" />
  221. </intent-filter>
  222. </activity-alias>
  223. <activity-alias android:name="Activity11" android:exported="true"
  224. android:label="TestActivity11"
  225. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  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="Activity12" android:exported="true"
  232. android:label="TestActivity12"
  233. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  234. <intent-filter>
  235. <action android:name="android.intent.action.MAIN" />
  236. <category android:name="android.intent.category.LAUNCHER" />
  237. </intent-filter>
  238. </activity-alias>
  239. <activity-alias android:name="Activity13" android:exported="true"
  240. android:label="TestActivity13"
  241. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  242. <intent-filter>
  243. <action android:name="android.intent.action.MAIN" />
  244. <category android:name="android.intent.category.LAUNCHER" />
  245. </intent-filter>
  246. </activity-alias>
  247. <activity-alias android:name="Activity14" android:exported="true"
  248. android:label="TestActivity14"
  249. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  250. <intent-filter>
  251. <action android:name="android.intent.action.MAIN" />
  252. <category android:name="android.intent.category.LAUNCHER" />
  253. </intent-filter>
  254. </activity-alias>
  255. <activity-alias android:name="Activity15" android:exported="true"
  256. android:label="ThemeIconTestActivity"
  257. android:icon="@drawable/test_theme_icon"
  258. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  259. <intent-filter>
  260. <action android:name="android.intent.action.MAIN" />
  261. <category android:name="android.intent.category.LAUNCHER" />
  262. </intent-filter>
  263. </activity-alias>
  264. <!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
  265. <provider
  266. android:name="androidx.startup.InitializationProvider"
  267. android:authorities="${applicationId}.androidx-startup"
  268. tools:node="remove" />
  269. </application>
  270. </manifest>