AndroidManifest-common.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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. package="com.android.launcher3.tests">
  16. <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
  17. <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
  18. <uses-permission android:name="android.permission.READ_LOGS"/>
  19. <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
  20. <application android:debuggable="true">
  21. <uses-library android:name="android.test.runner"/>
  22. <receiver
  23. android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
  24. android:exported="true"
  25. android:label="No Config">
  26. <intent-filter>
  27. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  28. </intent-filter>
  29. <meta-data android:name="android.appwidget.provider"
  30. android:resource="@xml/appwidget_no_config"/>
  31. </receiver>
  32. <receiver
  33. android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
  34. android:exported="true"
  35. android:label="Hidden widget">
  36. <intent-filter>
  37. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  38. </intent-filter>
  39. <meta-data android:name="android.appwidget.provider"
  40. android:resource="@xml/appwidget_hidden"/>
  41. </receiver>
  42. <receiver
  43. android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
  44. android:exported="true"
  45. android:label="With Config">
  46. <intent-filter>
  47. <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
  48. </intent-filter>
  49. <meta-data android:name="android.appwidget.provider"
  50. android:resource="@xml/appwidget_with_config"/>
  51. </receiver>
  52. <receiver
  53. android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors"
  54. android:exported="true"
  55. android:label="Dynamic Colors">
  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_dynamic_colors"/>
  61. </receiver>
  62. <activity
  63. android:name="com.android.launcher3.testcomponent.WidgetConfigActivity"
  64. android:exported="true">
  65. <intent-filter>
  66. <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
  67. </intent-filter>
  68. </activity>
  69. <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity"
  70. android:exported="true">
  71. <intent-filter>
  72. <action android:name="android.intent.action.CREATE_SHORTCUT" />
  73. <category android:name="android.intent.category.DEFAULT" />
  74. </intent-filter>
  75. </activity>
  76. <activity
  77. android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
  78. android:icon="@drawable/test_drawable_pin_item"
  79. android:exported="true"
  80. android:label="Test Pin Item">
  81. <intent-filter>
  82. <action android:name="android.intent.action.MAIN"/>
  83. <category android:name="android.intent.category.LAUNCHER"/>
  84. <category android:name="android.intent.category.DEFAULT"/>
  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|density"
  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. </intent-filter>
  126. <intent-filter>
  127. <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
  128. <category android:name="android.intent.category.DEFAULT"/>
  129. </intent-filter>
  130. <meta-data android:name="android.app.shortcuts"
  131. android:resource="@xml/shortcuts"/>
  132. </activity>
  133. <activity-alias android:name="Activity2"
  134. android:label="TestActivity2"
  135. android:exported="true"
  136. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  137. <intent-filter>
  138. <action android:name="android.intent.action.MAIN"/>
  139. <category android:name="android.intent.category.LAUNCHER"/>
  140. </intent-filter>
  141. </activity-alias>
  142. <activity-alias android:name="Activity3"
  143. android:label="TestActivity3"
  144. android:exported="true"
  145. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  146. <intent-filter>
  147. <action android:name="android.intent.action.MAIN"/>
  148. <category android:name="android.intent.category.LAUNCHER"/>
  149. </intent-filter>
  150. </activity-alias>
  151. <activity-alias android:name="Activity4"
  152. android:label="TestActivity4"
  153. android:exported="true"
  154. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  155. <intent-filter>
  156. <action android:name="android.intent.action.MAIN"/>
  157. <category android:name="android.intent.category.LAUNCHER"/>
  158. </intent-filter>
  159. </activity-alias>
  160. <activity-alias android:name="Activity5"
  161. android:label="TestActivity5"
  162. android:exported="true"
  163. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  164. <intent-filter>
  165. <action android:name="android.intent.action.MAIN"/>
  166. <category android:name="android.intent.category.LAUNCHER"/>
  167. </intent-filter>
  168. </activity-alias>
  169. <activity-alias android:name="Activity6"
  170. android:label="TestActivity6"
  171. android:exported="true"
  172. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  173. <intent-filter>
  174. <action android:name="android.intent.action.MAIN"/>
  175. <category android:name="android.intent.category.LAUNCHER"/>
  176. </intent-filter>
  177. </activity-alias>
  178. <activity-alias android:name="Activity7"
  179. android:label="TestActivity7"
  180. android:exported="true"
  181. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  182. <intent-filter>
  183. <action android:name="android.intent.action.MAIN"/>
  184. <category android:name="android.intent.category.LAUNCHER"/>
  185. </intent-filter>
  186. </activity-alias>
  187. <activity-alias android:name="Activity8"
  188. android:label="TestActivity8"
  189. android:exported="true"
  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="Activity9"
  197. android:label="TestActivity9"
  198. android:exported="true"
  199. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  200. <intent-filter>
  201. <action android:name="android.intent.action.MAIN"/>
  202. <category android:name="android.intent.category.LAUNCHER"/>
  203. </intent-filter>
  204. </activity-alias>
  205. <activity-alias android:name="Activity10"
  206. android:label="TestActivity10"
  207. android:exported="true"
  208. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  209. <intent-filter>
  210. <action android:name="android.intent.action.MAIN"/>
  211. <category android:name="android.intent.category.LAUNCHER"/>
  212. </intent-filter>
  213. </activity-alias>
  214. <activity-alias android:name="Activity11"
  215. android:label="TestActivity11"
  216. android:exported="true"
  217. android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
  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. </application>
  224. </manifest>