AndroidManifest.xml 9.9 KB

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