AndroidManifest-common.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2016, 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. <!--
  24. The manifest defines the common entries that should be present in any derivative of Launcher3.
  25. The components should generally not require any changes.
  26. Rest of the components are defined in AndroidManifest.xml which is merged with this manifest
  27. at compile time. Note that the components defined in AndroidManifest.xml are also required,
  28. with some minor changed based on the derivative app.
  29. -->
  30. <permission
  31. android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
  32. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  33. android:protectionLevel="dangerous"
  34. android:label="@string/permlab_install_shortcut"
  35. android:description="@string/permdesc_install_shortcut" />
  36. <uses-permission android:name="android.permission.CALL_PHONE" />
  37. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  38. <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
  39. <uses-permission android:name="android.permission.BIND_APPWIDGET" />
  40. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  41. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  42. <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
  43. <application
  44. android:backupAgent="com.android.launcher3.LauncherBackupAgent"
  45. android:fullBackupOnly="true"
  46. android:fullBackupContent="@xml/backupscheme"
  47. android:hardwareAccelerated="true"
  48. android:icon="@drawable/ic_launcher_home"
  49. android:label="@string/derived_app_name"
  50. android:largeHeap="@bool/config_largeHeap"
  51. android:restoreAnyVersion="true"
  52. android:supportsRtl="true" >
  53. <!-- Intent received used to install shortcuts from other applications -->
  54. <receiver
  55. android:name="com.android.launcher3.InstallShortcutReceiver"
  56. android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
  57. android:enabled="@bool/enable_install_shortcut_api" >
  58. <intent-filter>
  59. <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
  60. </intent-filter>
  61. </receiver>
  62. <!-- Intent received when a session is committed -->
  63. <receiver
  64. android:name="com.android.launcher3.SessionCommitReceiver" >
  65. <intent-filter>
  66. <action android:name="android.content.pm.action.SESSION_COMMITTED" />
  67. </intent-filter>
  68. </receiver>
  69. <!-- Intent received used to initialize a restored widget -->
  70. <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
  71. <intent-filter>
  72. <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
  73. </intent-filter>
  74. </receiver>
  75. <service
  76. android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
  77. android:exported="false"
  78. android:process=":wallpaper_chooser"
  79. android:permission="android.permission.BIND_JOB_SERVICE" />
  80. <service
  81. android:name="com.android.launcher3.notification.NotificationListener"
  82. android:label="@string/icon_badging_service_title"
  83. android:enabled="@bool/notification_badging_enabled"
  84. android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
  85. <intent-filter>
  86. <action android:name="android.service.notification.NotificationListenerService" />
  87. </intent-filter>
  88. </service>
  89. <meta-data android:name="android.nfc.disable_beam_default"
  90. android:value="true" />
  91. <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
  92. android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"
  93. android:excludeFromRecents="true"
  94. android:autoRemoveFromRecents="true"
  95. android:label="@string/action_add_to_workspace" >
  96. <intent-filter>
  97. <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
  98. <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
  99. </intent-filter>
  100. </activity>
  101. <!--
  102. Should point to the content provider which can be used to dump Launcher3 compatible
  103. worspace configuration to the dump's file descriptor by using launcher_dump.proto
  104. -->
  105. <meta-data
  106. android:name="com.android.launcher3.launcher_dump_provider"
  107. android:value="com.android.launcher3.LauncherProvider" />
  108. </application>
  109. </manifest>