AndroidManifest.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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. <intent-filter>
  89. <action android:name="android.intent.action.MAIN" />
  90. <category android:name="android.intent.category.HOME" />
  91. <category android:name="android.intent.category.DEFAULT" />
  92. <category android:name="android.intent.category.MONKEY"/>
  93. </intent-filter>
  94. </activity>
  95. <activity
  96. android:name="com.android.launcher3.ToggleWeightWatcher"
  97. android:label="@string/toggle_weight_watcher"
  98. android:enabled="@bool/debug_memory_enabled"
  99. android:icon="@mipmap/ic_launcher_home">
  100. <intent-filter>
  101. <action android:name="android.intent.action.MAIN" />
  102. <category android:name="android.intent.category.DEFAULT" />
  103. <category android:name="android.intent.category.LAUNCHER" />
  104. </intent-filter>
  105. </activity>
  106. <activity
  107. android:name="com.android.launcher3.LauncherWallpaperPickerActivity"
  108. android:theme="@style/Theme.WallpaperPicker"
  109. android:label="@string/pick_wallpaper"
  110. android:icon="@mipmap/ic_launcher_wallpaper"
  111. android:finishOnCloseSystemDialogs="true"
  112. android:process=":wallpaper_chooser">
  113. <intent-filter>
  114. <action android:name="android.intent.action.SET_WALLPAPER" />
  115. <category android:name="android.intent.category.DEFAULT" />
  116. </intent-filter>
  117. </activity>
  118. <activity
  119. android:name="com.android.launcher3.WallpaperCropActivity"
  120. android:theme="@style/Theme.WallpaperCropper"
  121. android:label="@string/crop_wallpaper"
  122. android:icon="@mipmap/ic_launcher_wallpaper"
  123. android:finishOnCloseSystemDialogs="true"
  124. android:process=":wallpaper_chooser">
  125. <intent-filter>
  126. <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
  127. <category android:name="android.intent.category.DEFAULT" />
  128. <data android:mimeType="image/*" />
  129. </intent-filter>
  130. </activity>
  131. <!-- Debugging tools -->
  132. <activity
  133. android:name="com.android.launcher3.MemoryDumpActivity"
  134. android:theme="@android:style/Theme.NoDisplay"
  135. android:label="@string/debug_memory_activity"
  136. android:enabled="@bool/debug_memory_enabled"
  137. android:excludeFromRecents="true"
  138. android:icon="@mipmap/ic_launcher_home"
  139. >
  140. <intent-filter>
  141. <action android:name="android.intent.action.MAIN" />
  142. <category android:name="android.intent.category.DEFAULT" />
  143. <category android:name="android.intent.category.LAUNCHER" />
  144. </intent-filter>
  145. </activity>
  146. <service android:name="com.android.launcher3.MemoryTracker"
  147. android:enabled="@bool/debug_memory_enabled"
  148. >
  149. </service>
  150. <receiver
  151. android:name="com.android.launcher3.WallpaperChangedReceiver">
  152. <intent-filter>
  153. <action android:name="android.intent.action.WALLPAPER_CHANGED" />
  154. </intent-filter>
  155. </receiver>
  156. <!-- Intent received used to install shortcuts from other applications -->
  157. <receiver
  158. android:name="com.android.launcher3.InstallShortcutReceiver"
  159. android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
  160. <intent-filter>
  161. <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
  162. </intent-filter>
  163. </receiver>
  164. <!-- Intent received used to uninstall shortcuts from other applications -->
  165. <receiver
  166. android:name="com.android.launcher3.UninstallShortcutReceiver"
  167. android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
  168. <intent-filter>
  169. <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
  170. </intent-filter>
  171. </receiver>
  172. <!-- Intent received used to initialize a restored widget -->
  173. <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
  174. <intent-filter>
  175. <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
  176. </intent-filter>
  177. </receiver>
  178. <!-- New user initialization; set up initial wallpaper -->
  179. <receiver
  180. android:name="com.android.launcher3.UserInitializeReceiver"
  181. android:exported="false">
  182. <intent-filter>
  183. <action android:name="android.intent.action.USER_INITIALIZE" />
  184. </intent-filter>
  185. </receiver>
  186. <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
  187. <intent-filter>
  188. <action android:name="android.intent.action.PACKAGE_CHANGED"/>
  189. <action android:name="android.intent.action.PACKAGE_REPLACED"/>
  190. <action android:name="android.intent.action.PACKAGE_REMOVED"/>
  191. <data android:scheme="package"></data>
  192. </intent-filter>
  193. </receiver>
  194. <receiver android:name="com.android.launcher3.StartupReceiver" >
  195. <intent-filter>
  196. <action android:name="android.intent.action.BOOT_COMPLETED" />
  197. </intent-filter>
  198. </receiver>
  199. <!-- The settings provider contains Home's data, like the workspace favorites -->
  200. <provider
  201. android:name="com.android.launcher3.LauncherProvider"
  202. android:authorities="com.android.launcher3.settings"
  203. android:exported="true"
  204. android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
  205. android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
  206. <meta-data android:name="android.nfc.disable_beam_default"
  207. android:value="true" />
  208. </application>
  209. </manifest>