Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 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"> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 23 | |
| 24 | <!-- |
| 25 | The manifest defines the common entries that should be present in any derivative of Launcher3. |
| 26 | The components should generally not require any changes. |
| 27 | |
| 28 | Rest of the components are defined in AndroidManifest.xml which is merged with this manifest |
| 29 | at compile time. Note that the components defined in AndroidManifest.xml are also required, |
| 30 | with some minor changed based on the derivative app. |
| 31 | --> |
| 32 | <permission |
| 33 | android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 34 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 35 | android:protectionLevel="dangerous" |
| 36 | android:label="@string/permlab_install_shortcut" |
| 37 | android:description="@string/permdesc_install_shortcut" /> |
| 38 | |
| 39 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 40 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 41 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 42 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
| 43 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 44 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Jon Miranda | 94fe9fa | 2017-09-05 13:38:07 -0700 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 46 | |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 47 | |
| 48 | <!-- |
| 49 | Permissions required for read/write access to the workspace data. These permission name |
| 50 | should not conflict with that defined in other apps, as such an app should embed its package |
| 51 | name in the permissions. eq com.mypackage.permission.READ_SETTINGS |
| 52 | --> |
| 53 | <permission |
| 54 | android:name="${packageName}.permission.READ_SETTINGS" |
| 55 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 56 | android:protectionLevel="signatureOrSystem" |
| 57 | android:label="@string/permlab_read_settings" |
| 58 | android:description="@string/permdesc_read_settings"/> |
| 59 | <permission |
| 60 | android:name="${packageName}.permission.WRITE_SETTINGS" |
| 61 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 62 | android:protectionLevel="signatureOrSystem" |
| 63 | android:label="@string/permlab_write_settings" |
| 64 | android:description="@string/permdesc_write_settings"/> |
| 65 | |
| 66 | <uses-permission android:name="${packageName}.permission.READ_SETTINGS" /> |
| 67 | <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" /> |
| 68 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 69 | <application |
| 70 | android:backupAgent="com.android.launcher3.LauncherBackupAgent" |
| 71 | android:fullBackupOnly="true" |
| 72 | android:fullBackupContent="@xml/backupscheme" |
| 73 | android:hardwareAccelerated="true" |
Hyunyoung Song | 837eb1f | 2017-03-03 11:14:05 -0800 | [diff] [blame] | 74 | android:icon="@drawable/ic_launcher_home" |
Sunny Goyal | 112ce42 | 2016-08-22 16:45:29 -0700 | [diff] [blame] | 75 | android:label="@string/derived_app_name" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 76 | android:largeHeap="@bool/config_largeHeap" |
| 77 | android:restoreAnyVersion="true" |
| 78 | android:supportsRtl="true" > |
| 79 | |
| 80 | <!-- Intent received used to install shortcuts from other applications --> |
| 81 | <receiver |
| 82 | android:name="com.android.launcher3.InstallShortcutReceiver" |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 83 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 84 | android:enabled="@bool/enable_install_shortcut_api" > |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 85 | <intent-filter> |
| 86 | <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> |
| 87 | </intent-filter> |
| 88 | </receiver> |
| 89 | |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 90 | <!-- Intent received when a session is committed --> |
| 91 | <receiver |
| 92 | android:name="com.android.launcher3.SessionCommitReceiver" > |
| 93 | <intent-filter> |
| 94 | <action android:name="android.content.pm.action.SESSION_COMMITTED" /> |
| 95 | </intent-filter> |
| 96 | </receiver> |
| 97 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 98 | <!-- Intent received used to initialize a restored widget --> |
| 99 | <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" > |
| 100 | <intent-filter> |
| 101 | <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/> |
| 102 | </intent-filter> |
| 103 | </receiver> |
| 104 | |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 105 | <service |
Sunny Goyal | 18c699f | 2018-05-03 16:58:41 -0700 | [diff] [blame] | 106 | android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService" |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 107 | android:exported="false" |
Sunny Goyal | 8231596 | 2017-06-08 14:27:49 -0700 | [diff] [blame] | 108 | android:process=":wallpaper_chooser" |
| 109 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 110 | |
Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 111 | <service |
| 112 | android:name="com.android.launcher3.notification.NotificationListener" |
Tony Wickham | f34bee8 | 2018-12-03 18:11:39 -0800 | [diff] [blame^] | 113 | android:label="@string/notification_dots_service_title" |
| 114 | android:enabled="@bool/notification_dots_enabled" |
Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 115 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> |
Tony | 4d8019a | 2017-02-13 07:44:01 -0800 | [diff] [blame] | 116 | <intent-filter> |
| 117 | <action android:name="android.service.notification.NotificationListenerService" /> |
| 118 | </intent-filter> |
| 119 | </service> |
| 120 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 121 | <meta-data android:name="android.nfc.disable_beam_default" |
| 122 | android:value="true" /> |
| 123 | |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 124 | <activity android:name="com.android.launcher3.dragndrop.AddItemActivity" |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 125 | android:theme="@style/AppItemActivityTheme" |
Sunny Goyal | b38fab7 | 2017-01-20 19:32:31 -0800 | [diff] [blame] | 126 | android:excludeFromRecents="true" |
| 127 | android:autoRemoveFromRecents="true" |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 128 | android:label="@string/action_add_to_workspace" > |
| 129 | <intent-filter> |
Sunny Goyal | 8b2002e | 2017-01-26 14:40:10 -0800 | [diff] [blame] | 130 | <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" /> |
| 131 | <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" /> |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 132 | </intent-filter> |
| 133 | </activity> |
| 134 | |
Hyunyoung Song | 37fa9b4 | 2017-05-04 15:21:20 -0700 | [diff] [blame] | 135 | <!-- |
| 136 | Should point to the content provider which can be used to dump Launcher3 compatible |
| 137 | worspace configuration to the dump's file descriptor by using launcher_dump.proto |
| 138 | --> |
| 139 | <meta-data |
| 140 | android:name="com.android.launcher3.launcher_dump_provider" |
| 141 | android:value="com.android.launcher3.LauncherProvider" /> |
| 142 | |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 143 | <!-- |
| 144 | The settings provider contains Home's data, like the workspace favorites. The permissions |
| 145 | should be changed to what is defined above. The authorities should also be changed to |
| 146 | represent the package name. |
| 147 | --> |
| 148 | <provider |
| 149 | android:name="com.android.launcher3.LauncherProvider" |
| 150 | android:authorities="${packageName}.settings" |
| 151 | android:exported="true" |
| 152 | android:writePermission="${packageName}.permission.WRITE_SETTINGS" |
| 153 | android:readPermission="${packageName}.permission.READ_SETTINGS" /> |
| 154 | |
| 155 | <!-- |
| 156 | The settings activity. To extend point settings_fragment_name to appropriate fragment class |
| 157 | --> |
| 158 | <activity |
Sunny Goyal | b2498b2 | 2018-10-16 16:36:02 -0700 | [diff] [blame] | 159 | android:name="com.android.launcher3.settings.SettingsActivity" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 160 | android:label="@string/settings_button_text" |
| 161 | android:theme="@android:style/Theme.DeviceDefault.Settings" |
| 162 | android:autoRemoveFromRecents="true"> |
| 163 | <intent-filter> |
| 164 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 165 | <category android:name="android.intent.category.DEFAULT" /> |
| 166 | </intent-filter> |
| 167 | </activity> |
| 168 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 169 | </application> |
| 170 | </manifest> |