AndroidManifest.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2008, The Android Open Source Project
  6. **
  7. ** Licensed under the Apache License, Version 2.0 (the "License");
  8. ** you may not use this file except in compliance with the License.
  9. ** You may obtain a copy of the License at
  10. **
  11. ** http://www.apache.org/licenses/LICENSE-2.0
  12. **
  13. ** Unless required by applicable law or agreed to in writing, software
  14. ** distributed under the License is distributed on an "AS IS" BASIS,
  15. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ** See the License for the specific language governing permissions and
  17. ** limitations under the License.
  18. */
  19. -->
  20. <manifest
  21. xmlns:android="http://schemas.android.com/apk/res/android"
  22. package="com.android.launcher3">
  23. <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="16"/>
  24. <permission
  25. android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
  26. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  27. android:protectionLevel="dangerous"
  28. android:label="@string/permlab_install_shortcut"
  29. android:description="@string/permdesc_install_shortcut" />
  30. <permission
  31. android:name="com.android.launcher3.permission.READ_SETTINGS"
  32. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  33. android:protectionLevel="normal"
  34. android:label="@string/permlab_read_settings"
  35. android:description="@string/permdesc_read_settings"/>
  36. <permission
  37. android:name="com.android.launcher3.permission.WRITE_SETTINGS"
  38. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  39. android:protectionLevel="signatureOrSystem"
  40. android:label="@string/permlab_write_settings"
  41. android:description="@string/permdesc_write_settings"/>
  42. <permission
  43. android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
  44. android:protectionLevel="signature"
  45. />
  46. <permission
  47. android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
  48. android:protectionLevel="signatureOrSystem" />
  49. <uses-permission android:name="android.permission.CALL_PHONE" />
  50. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  51. <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
  52. <uses-permission android:name="android.permission.VIBRATE" />
  53. <uses-permission android:name="android.permission.BIND_APPWIDGET" />
  54. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  55. <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
  56. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  57. <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
  58. <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
  59. <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
  60. <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
  61. <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
  62. <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
  63. <application
  64. android:allowBackup="@bool/enable_backup"
  65. android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
  66. android:hardwareAccelerated="true"
  67. android:icon="@mipmap/ic_launcher_home"
  68. android:label="@string/app_name"
  69. android:largeHeap="@bool/config_largeHeap"
  70. android:restoreAnyVersion="true"
  71. android:supportsRtl="true" >
  72. <activity
  73. android:name="com.android.launcher3.Launcher"
  74. android:launchMode="singleTask"
  75. android:clearTaskOnLaunch="true"
  76. android:stateNotNeeded="true"
  77. android:theme="@style/Theme"
  78. android:windowSoftInputMode="adjustPan"
  79. android:screenOrientation="nosensor"
  80. android:configChanges="keyboard|keyboardHidden|navigation"
  81. android:resumeWhilePausing="true"
  82. android:taskAffinity=""
  83. android:enabled="true">
  84. <intent-filter>
  85. <action android:name="android.intent.action.MAIN" />
  86. <category android:name="android.intent.category.HOME" />
  87. <category android:name="android.intent.category.DEFAULT" />
  88. <category android:name="android.intent.category.MONKEY"/>
  89. </intent-filter>
  90. </activity>
  91. <activity
  92. android:name="com.android.launcher3.WallpaperPickerActivity"
  93. android:theme="@style/Theme.WallpaperPicker"
  94. android:label="@string/pick_wallpaper"
  95. android:icon="@mipmap/ic_launcher_wallpaper"
  96. android:finishOnCloseSystemDialogs="true"
  97. android:process=":wallpaper_chooser">
  98. <intent-filter>
  99. <action android:name="android.intent.action.SET_WALLPAPER" />
  100. <category android:name="android.intent.category.DEFAULT" />
  101. </intent-filter>
  102. </activity>
  103. <activity
  104. android:name="com.android.launcher3.WallpaperCropActivity"
  105. android:theme="@style/Theme.WallpaperCropper"
  106. android:label="@string/crop_wallpaper"
  107. android:icon="@mipmap/ic_launcher_wallpaper"
  108. android:finishOnCloseSystemDialogs="true"
  109. android:process=":wallpaper_chooser">
  110. <intent-filter>
  111. <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
  112. <category android:name="android.intent.category.DEFAULT" />
  113. <data android:mimeType="image/*" />
  114. </intent-filter>
  115. </activity>
  116. <activity
  117. android:name="com.android.launcher3.SettingsActivity"
  118. android:label="@string/settings_button_text"
  119. android:autoRemoveFromRecents="true"
  120. android:process=":settings_process">
  121. </activity>
  122. <!-- Intent received used to install shortcuts from other applications -->
  123. <receiver
  124. android:name="com.android.launcher3.InstallShortcutReceiver"
  125. android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
  126. <intent-filter>
  127. <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
  128. </intent-filter>
  129. </receiver>
  130. <!-- Intent received used to initialize a restored widget -->
  131. <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
  132. <intent-filter>
  133. <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
  134. </intent-filter>
  135. </receiver>
  136. <receiver android:name="com.android.launcher3.StartupReceiver" >
  137. <intent-filter>
  138. <action android:name="android.intent.action.BOOT_COMPLETED" />
  139. </intent-filter>
  140. </receiver>
  141. <!-- The settings provider contains Home's data, like the workspace favorites -->
  142. <provider
  143. android:name="com.android.launcher3.LauncherProvider"
  144. android:authorities="com.android.launcher3.settings"
  145. android:exported="true"
  146. android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
  147. android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
  148. <meta-data android:name="android.nfc.disable_beam_default"
  149. android:value="true" />
  150. <!-- ENABLE_FOR_TESTING
  151. <activity
  152. android:name="com.android.launcher3.testing.LauncherExtension"
  153. android:launchMode="singleTask"
  154. android:clearTaskOnLaunch="true"
  155. android:stateNotNeeded="true"
  156. android:theme="@style/Theme"
  157. android:windowSoftInputMode="adjustPan"
  158. android:screenOrientation="nosensor"
  159. >
  160. <intent-filter>
  161. <action android:name="android.intent.action.MAIN" />
  162. <category android:name="android.intent.category.HOME" />
  163. <category android:name="android.intent.category.DEFAULT" />
  164. <category android:name="android.intent.category.MONKEY"/>
  165. </intent-filter>
  166. </activity>
  167. <activity
  168. android:name="com.android.launcher3.testing.MemoryDumpActivity"
  169. android:theme="@android:style/Theme.NoDisplay"
  170. android:label="* HPROF"
  171. android:excludeFromRecents="true"
  172. android:icon="@mipmap/ic_launcher_home"
  173. >
  174. <intent-filter>
  175. <action android:name="android.intent.action.MAIN" />
  176. <category android:name="android.intent.category.DEFAULT" />
  177. <category android:name="android.intent.category.LAUNCHER" />
  178. </intent-filter>
  179. </activity>
  180. <activity
  181. android:name="com.android.launcher3.testing.ToggleWeightWatcher"
  182. android:label="Show Mem"
  183. android:icon="@mipmap/ic_launcher_home">
  184. <intent-filter>
  185. <action android:name="android.intent.action.MAIN" />
  186. <category android:name="android.intent.category.DEFAULT" />
  187. <category android:name="android.intent.category.LAUNCHER" />
  188. </intent-filter>
  189. </activity>
  190. <service android:name="com.android.launcher3.testing.MemoryTracker" />
  191. -->
  192. </application>
  193. </manifest>