AndroidManifest-common.xml 9.4 KB

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