AndroidManifest.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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="21" 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.launcher.permission.UNINSTALL_SHORTCUT"
  32. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  33. android:protectionLevel="dangerous"
  34. android:label="@string/permlab_uninstall_shortcut"
  35. android:description="@string/permdesc_uninstall_shortcut"/>
  36. <permission
  37. android:name="com.android.launcher3.permission.READ_SETTINGS"
  38. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  39. android:protectionLevel="normal"
  40. android:label="@string/permlab_read_settings"
  41. android:description="@string/permdesc_read_settings"/>
  42. <permission
  43. android:name="com.android.launcher3.permission.WRITE_SETTINGS"
  44. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  45. android:protectionLevel="signatureOrSystem"
  46. android:label="@string/permlab_write_settings"
  47. android:description="@string/permdesc_write_settings"/>
  48. <permission
  49. android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
  50. android:protectionLevel="signature"
  51. />
  52. <permission
  53. android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
  54. android:protectionLevel="signatureOrSystem" />
  55. <uses-permission android:name="android.permission.CALL_PHONE" />
  56. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  57. <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
  58. <uses-permission android:name="android.permission.VIBRATE" />
  59. <uses-permission android:name="android.permission.BIND_APPWIDGET" />
  60. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  61. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  62. <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
  63. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  64. <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
  65. <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
  66. <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
  67. <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
  68. <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
  69. <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
  70. <application
  71. android:name="com.android.launcher3.LauncherApplication"
  72. android:allowBackup="@bool/enable_backup"
  73. android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
  74. android:hardwareAccelerated="true"
  75. android:icon="@mipmap/ic_launcher_home"
  76. android:label="@string/application_name"
  77. android:largeHeap="@bool/config_largeHeap"
  78. android:restoreAnyVersion="true"
  79. android:supportsRtl="true" >
  80. <activity
  81. android:name="com.android.launcher3.Launcher"
  82. android:launchMode="singleTask"
  83. android:clearTaskOnLaunch="true"
  84. android:stateNotNeeded="true"
  85. android:theme="@style/Theme"
  86. android:windowSoftInputMode="adjustPan"
  87. android:screenOrientation="nosensor"
  88. android:enabled="true">
  89. <intent-filter>
  90. <action android:name="android.intent.action.MAIN" />
  91. <category android:name="android.intent.category.HOME" />
  92. <category android:name="android.intent.category.DEFAULT" />
  93. <category android:name="android.intent.category.MONKEY"/>
  94. </intent-filter>
  95. </activity>
  96. <activity
  97. android:name="com.android.launcher3.LauncherExtension"
  98. android:launchMode="singleTask"
  99. android:clearTaskOnLaunch="true"
  100. android:stateNotNeeded="true"
  101. android:theme="@style/Theme"
  102. android:windowSoftInputMode="adjustPan"
  103. android:screenOrientation="nosensor"
  104. android:enabled="false">
  105. <intent-filter>
  106. <action android:name="android.intent.action.MAIN" />
  107. <category android:name="android.intent.category.HOME" />
  108. <category android:name="android.intent.category.DEFAULT" />
  109. <category android:name="android.intent.category.MONKEY"/>
  110. </intent-filter>
  111. </activity>
  112. <activity
  113. android:name="com.android.launcher3.ToggleWeightWatcher"
  114. android:label="@string/toggle_weight_watcher"
  115. android:enabled="@bool/debug_memory_enabled"
  116. android:icon="@mipmap/ic_launcher_home">
  117. <intent-filter>
  118. <action android:name="android.intent.action.MAIN" />
  119. <category android:name="android.intent.category.DEFAULT" />
  120. <category android:name="android.intent.category.LAUNCHER" />
  121. </intent-filter>
  122. </activity>
  123. <activity
  124. android:name="com.android.launcher3.LauncherWallpaperPickerActivity"
  125. android:theme="@style/Theme.WallpaperPicker"
  126. android:label="@string/pick_wallpaper"
  127. android:icon="@mipmap/ic_launcher_wallpaper"
  128. android:finishOnCloseSystemDialogs="true"
  129. android:process=":wallpaper_chooser">
  130. <intent-filter>
  131. <action android:name="android.intent.action.SET_WALLPAPER" />
  132. <category android:name="android.intent.category.DEFAULT" />
  133. </intent-filter>
  134. </activity>
  135. <activity
  136. android:name="com.android.launcher3.WallpaperCropActivity"
  137. android:theme="@style/Theme.WallpaperCropper"
  138. android:label="@string/crop_wallpaper"
  139. android:icon="@mipmap/ic_launcher_wallpaper"
  140. android:finishOnCloseSystemDialogs="true"
  141. android:process=":wallpaper_chooser">
  142. <intent-filter>
  143. <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
  144. <category android:name="android.intent.category.DEFAULT" />
  145. <data android:mimeType="image/*" />
  146. </intent-filter>
  147. </activity>
  148. <!-- Debugging tools -->
  149. <activity
  150. android:name="com.android.launcher3.MemoryDumpActivity"
  151. android:theme="@android:style/Theme.NoDisplay"
  152. android:label="@string/debug_memory_activity"
  153. android:enabled="@bool/debug_memory_enabled"
  154. android:excludeFromRecents="true"
  155. android:icon="@mipmap/ic_launcher_home"
  156. >
  157. <intent-filter>
  158. <action android:name="android.intent.action.MAIN" />
  159. <category android:name="android.intent.category.DEFAULT" />
  160. <category android:name="android.intent.category.LAUNCHER" />
  161. </intent-filter>
  162. </activity>
  163. <service android:name="com.android.launcher3.MemoryTracker"
  164. android:enabled="@bool/debug_memory_enabled"
  165. >
  166. </service>
  167. <receiver
  168. android:name="com.android.launcher3.WallpaperChangedReceiver">
  169. <intent-filter>
  170. <action android:name="android.intent.action.WALLPAPER_CHANGED" />
  171. </intent-filter>
  172. </receiver>
  173. <!-- Intent received used to install shortcuts from other applications -->
  174. <receiver
  175. android:name="com.android.launcher3.InstallShortcutReceiver"
  176. android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
  177. <intent-filter>
  178. <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
  179. </intent-filter>
  180. </receiver>
  181. <!-- Intent received used to uninstall shortcuts from other applications -->
  182. <receiver
  183. android:name="com.android.launcher3.UninstallShortcutReceiver"
  184. android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
  185. <intent-filter>
  186. <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
  187. </intent-filter>
  188. </receiver>
  189. <!-- Intent received used to initialize a restored widget -->
  190. <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
  191. <intent-filter>
  192. <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
  193. </intent-filter>
  194. </receiver>
  195. <!-- New user initialization; set up initial wallpaper -->
  196. <receiver
  197. android:name="com.android.launcher3.UserInitializeReceiver"
  198. android:exported="false">
  199. <intent-filter>
  200. <action android:name="android.intent.action.USER_INITIALIZE" />
  201. </intent-filter>
  202. </receiver>
  203. <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
  204. <intent-filter>
  205. <action android:name="android.intent.action.PACKAGE_CHANGED"/>
  206. <action android:name="android.intent.action.PACKAGE_REPLACED"/>
  207. <action android:name="android.intent.action.PACKAGE_REMOVED"/>
  208. <data android:scheme="package"></data>
  209. </intent-filter>
  210. </receiver>
  211. <receiver android:name="com.android.launcher3.StartupReceiver" >
  212. <intent-filter>
  213. <action android:name="android.intent.action.BOOT_COMPLETED" />
  214. </intent-filter>
  215. </receiver>
  216. <!-- The settings provider contains Home's data, like the workspace favorites -->
  217. <provider
  218. android:name="com.android.launcher3.LauncherProvider"
  219. android:authorities="com.android.launcher3.settings"
  220. android:exported="true"
  221. android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
  222. android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
  223. <meta-data android:name="android.nfc.disable_beam_default"
  224. android:value="true" />
  225. </application>
  226. </manifest>