AndroidManifest-common.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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. <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
  22. <application android:debuggable="true" android:extractNativeLibs="true">
  23. <uses-library android:name="android.test.runner"/>
  24. <receiver
  25. android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
  26. android:exported="true"
  27. android:label="No Config">
  28. <intent-filter>
  29. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  30. </intent-filter>
  31. <meta-data android:name="android.appwidget.provider"
  32. android:resource="@xml/appwidget_no_config"/>
  33. </receiver>
  34. <receiver
  35. android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
  36. android:exported="true"
  37. android:label="Hidden widget">
  38. <intent-filter>
  39. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  40. </intent-filter>
  41. <meta-data android:name="android.appwidget.provider"
  42. android:resource="@xml/appwidget_hidden"/>
  43. </receiver>
  44. <receiver
  45. android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
  46. android:exported="true"
  47. android:label="With Config">
  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_with_config"/>
  53. </receiver>
  54. <receiver
  55. android:name="com.android.launcher3.testcomponent.AppWidgetWithDialog"
  56. android:exported="true"
  57. android:label="With Dialog">
  58. <intent-filter>
  59. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  60. </intent-filter>
  61. <meta-data android:name="android.appwidget.provider"
  62. android:resource="@xml/appwidget_no_config"/>
  63. </receiver>
  64. <receiver
  65. android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors"
  66. android:exported="true"
  67. android:label="Dynamic Colors">
  68. <intent-filter>
  69. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  70. </intent-filter>
  71. <meta-data android:name="android.appwidget.provider"
  72. android:resource="@xml/appwidget_dynamic_colors"/>
  73. </receiver>
  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. </intent-filter>
  97. </activity>
  98. <service
  99. android:name="com.android.launcher3.testcomponent.ListViewService"
  100. android:permission="android.permission.BIND_REMOTEVIEWS" />
  101. <provider
  102. android:name="com.android.launcher3.testcomponent.TestCommandProvider"
  103. android:authorities="${packageName}.commands"
  104. android:exported="true"/>
  105. <activity
  106. android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
  107. android:clearTaskOnLaunch="true"
  108. android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
  109. android:enabled="false"
  110. android:label="Test launcher"
  111. android:launchMode="singleTask"
  112. android:process=":testLauncherProcess"
  113. android:resizeableActivity="true"
  114. android:screenOrientation="unspecified"
  115. android:stateNotNeeded="true"
  116. android:taskAffinity=""
  117. android:theme="@android:style/Theme.DeviceDefault.Light"
  118. android:exported="true"
  119. android:windowSoftInputMode="adjustPan">
  120. <intent-filter>
  121. <action android:name="android.intent.action.MAIN"/>
  122. <category android:name="android.intent.category.HOME"/>
  123. <category android:name="android.intent.category.DEFAULT"/>
  124. <category android:name="android.intent.category.MONKEY"/>
  125. <category android:name="android.intent.category.LAUNCHER_APP"/>
  126. </intent-filter>
  127. </activity>
  128. <activity
  129. android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
  130. android:label="LauncherTestApp"
  131. android:exported="true"
  132. android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
  133. <intent-filter>
  134. <action android:name="android.intent.action.MAIN"/>
  135. <category android:name="android.intent.category.LAUNCHER"/>
  136. <category android:name="android.intent.category.DEFAULT"/>
  137. </intent-filter>
  138. <intent-filter>
  139. <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
  140. <category android:name="android.intent.category.DEFAULT"/>
  141. </intent-filter>
  142. <meta-data android:name="android.app.shortcuts"
  143. android:resource="@xml/shortcuts"/>
  144. </activity>
  145. <activity
  146. android:name="com.android.launcher3.testcomponent.OtherBaseTestingActivity"
  147. android:label="OtherLauncherTestApp"
  148. android:exported="true"
  149. android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
  150. <intent-filter>
  151. <action android:name="android.intent.action.MAIN"/>
  152. <category android:name="android.intent.category.LAUNCHER"/>
  153. </intent-filter>
  154. </activity>
  155. <activity-alias android:name="Activity2"
  156. android:label="TestActivity2"
  157. android:exported="true"
  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="Activity3"
  165. android:label="TestActivity3"
  166. android:exported="true"
  167. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  168. <intent-filter>
  169. <action android:name="android.intent.action.MAIN"/>
  170. <category android:name="android.intent.category.LAUNCHER"/>
  171. </intent-filter>
  172. </activity-alias>
  173. <activity-alias android:name="Activity4"
  174. android:label="TestActivity4"
  175. android:exported="true"
  176. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  177. <intent-filter>
  178. <action android:name="android.intent.action.MAIN"/>
  179. <category android:name="android.intent.category.LAUNCHER"/>
  180. </intent-filter>
  181. </activity-alias>
  182. <activity-alias android:name="Activity5"
  183. android:label="TestActivity5"
  184. android:exported="true"
  185. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  186. <intent-filter>
  187. <action android:name="android.intent.action.MAIN"/>
  188. <category android:name="android.intent.category.LAUNCHER"/>
  189. </intent-filter>
  190. </activity-alias>
  191. <activity-alias android:name="Activity6"
  192. android:label="TestActivity6"
  193. android:exported="true"
  194. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  195. <intent-filter>
  196. <action android:name="android.intent.action.MAIN"/>
  197. <category android:name="android.intent.category.LAUNCHER"/>
  198. </intent-filter>
  199. </activity-alias>
  200. <activity-alias android:name="Activity7"
  201. android:label="TestActivity7"
  202. android:exported="true"
  203. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  204. <intent-filter>
  205. <action android:name="android.intent.action.MAIN"/>
  206. <category android:name="android.intent.category.LAUNCHER"/>
  207. </intent-filter>
  208. </activity-alias>
  209. <activity-alias android:name="Activity8"
  210. android:label="TestActivity8"
  211. android:exported="true"
  212. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  213. <intent-filter>
  214. <action android:name="android.intent.action.MAIN"/>
  215. <category android:name="android.intent.category.LAUNCHER"/>
  216. </intent-filter>
  217. </activity-alias>
  218. <activity-alias android:name="Activity9" android:exported="true"
  219. android:label="TestActivity9"
  220. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  221. <intent-filter>
  222. <action android:name="android.intent.action.MAIN" />
  223. <category android:name="android.intent.category.LAUNCHER" />
  224. </intent-filter>
  225. </activity-alias>
  226. <activity-alias android:name="Activity10" android:exported="true"
  227. android:label="TestActivity10"
  228. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  229. <intent-filter>
  230. <action android:name="android.intent.action.MAIN" />
  231. <category android:name="android.intent.category.LAUNCHER" />
  232. </intent-filter>
  233. </activity-alias>
  234. <activity-alias android:name="Activity11" android:exported="true"
  235. android:label="TestActivity11"
  236. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  237. <intent-filter>
  238. <action android:name="android.intent.action.MAIN" />
  239. <category android:name="android.intent.category.LAUNCHER" />
  240. </intent-filter>
  241. </activity-alias>
  242. <activity-alias android:name="Activity12" android:exported="true"
  243. android:label="TestActivity12"
  244. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  245. <intent-filter>
  246. <action android:name="android.intent.action.MAIN" />
  247. <category android:name="android.intent.category.LAUNCHER" />
  248. </intent-filter>
  249. </activity-alias>
  250. <activity-alias android:name="Activity13" android:exported="true"
  251. android:label="TestActivity13"
  252. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  253. <intent-filter>
  254. <action android:name="android.intent.action.MAIN" />
  255. <category android:name="android.intent.category.LAUNCHER" />
  256. </intent-filter>
  257. </activity-alias>
  258. <activity-alias android:name="Activity14" android:exported="true"
  259. android:label="TestActivity14"
  260. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  261. <intent-filter>
  262. <action android:name="android.intent.action.MAIN" />
  263. <category android:name="android.intent.category.LAUNCHER" />
  264. </intent-filter>
  265. </activity-alias>
  266. <activity-alias android:name="Activity15" android:exported="true"
  267. android:label="IconThemedActivity"
  268. android:icon="@drawable/test_theme_icon"
  269. android:targetActivity="com.android.launcher3.testcomponent.OtherBaseTestingActivity">
  270. <intent-filter>
  271. <action android:name="android.intent.action.MAIN" />
  272. <category android:name="android.intent.category.LAUNCHER" />
  273. </intent-filter>
  274. </activity-alias>
  275. <activity
  276. android:name="com.android.launcher3.testcomponent.DialogTestActivity"
  277. android:label="Dialog Activity"
  278. android:theme="@android:style/Theme.Dialog"
  279. android:exported="true"
  280. android:taskAffinity="com.android.launcher3.testcomponent.Affinity2">
  281. <intent-filter>
  282. <action android:name="android.intent.action.MAIN"/>
  283. <category android:name="android.intent.category.LAUNCHER"/>
  284. </intent-filter>
  285. </activity>
  286. <activity android:name="com.android.launcher3.testcomponent.ImeTestActivity"
  287. android:label="ImeTestActivity"
  288. android:icon="@drawable/test_theme_icon"
  289. android:exported="true">
  290. <intent-filter>
  291. <action android:name="android.intent.action.MAIN" />
  292. <category android:name="android.intent.category.LAUNCHER" />
  293. </intent-filter>
  294. </activity>
  295. <!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
  296. <provider
  297. android:name="androidx.startup.InitializationProvider"
  298. android:authorities="${applicationId}.androidx-startup"
  299. tools:node="remove" />
  300. </application>
  301. </manifest>