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"> |
| 23 | <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="21"/> |
| 24 | |
| 25 | <!-- |
| 26 | The manifest defines the common entries that should be present in any derivative of Launcher3. |
| 27 | The components should generally not require any changes. |
| 28 | |
| 29 | Rest of the components are defined in AndroidManifest.xml which is merged with this manifest |
| 30 | at compile time. Note that the components defined in AndroidManifest.xml are also required, |
| 31 | with some minor changed based on the derivative app. |
| 32 | --> |
| 33 | <permission |
| 34 | android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 35 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 36 | android:protectionLevel="dangerous" |
| 37 | android:label="@string/permlab_install_shortcut" |
| 38 | android:description="@string/permdesc_install_shortcut" /> |
| 39 | |
| 40 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 41 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 42 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 43 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
| 44 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 45 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Jon Miranda | 94fe9fa | 2017-09-05 13:38:07 -0700 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 47 | |
| 48 | <application |
| 49 | android:backupAgent="com.android.launcher3.LauncherBackupAgent" |
| 50 | android:fullBackupOnly="true" |
| 51 | android:fullBackupContent="@xml/backupscheme" |
| 52 | android:hardwareAccelerated="true" |
Hyunyoung Song | 837eb1f | 2017-03-03 11:14:05 -0800 | [diff] [blame] | 53 | android:icon="@drawable/ic_launcher_home" |
Sunny Goyal | 112ce42 | 2016-08-22 16:45:29 -0700 | [diff] [blame] | 54 | android:label="@string/derived_app_name" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 55 | android:largeHeap="@bool/config_largeHeap" |
| 56 | android:restoreAnyVersion="true" |
| 57 | android:supportsRtl="true" > |
| 58 | |
| 59 | <!-- Intent received used to install shortcuts from other applications --> |
| 60 | <receiver |
| 61 | android:name="com.android.launcher3.InstallShortcutReceiver" |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 62 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 63 | android:enabled="@bool/enable_install_shortcut_api" > |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 64 | <intent-filter> |
| 65 | <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> |
| 66 | </intent-filter> |
| 67 | </receiver> |
| 68 | |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 69 | <!-- Intent received when a session is committed --> |
| 70 | <receiver |
| 71 | android:name="com.android.launcher3.SessionCommitReceiver" > |
| 72 | <intent-filter> |
| 73 | <action android:name="android.content.pm.action.SESSION_COMMITTED" /> |
| 74 | </intent-filter> |
| 75 | </receiver> |
| 76 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 77 | <!-- Intent received used to initialize a restored widget --> |
| 78 | <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" > |
| 79 | <intent-filter> |
| 80 | <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/> |
| 81 | </intent-filter> |
| 82 | </receiver> |
| 83 | |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 84 | <service |
| 85 | android:name="com.android.launcher3.compat.WallpaperManagerCompatVL$ColorExtractionService" |
| 86 | android:exported="false" |
Sunny Goyal | 8231596 | 2017-06-08 14:27:49 -0700 | [diff] [blame] | 87 | android:process=":wallpaper_chooser" |
| 88 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 89 | |
Tony | 4d8019a | 2017-02-13 07:44:01 -0800 | [diff] [blame] | 90 | <service android:name="com.android.launcher3.notification.NotificationListener" |
| 91 | android:enabled="@bool/notification_badging_enabled" |
| 92 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> |
| 93 | <intent-filter> |
| 94 | <action android:name="android.service.notification.NotificationListenerService" /> |
| 95 | </intent-filter> |
| 96 | </service> |
| 97 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 98 | <meta-data android:name="android.nfc.disable_beam_default" |
| 99 | android:value="true" /> |
| 100 | |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 101 | <activity android:name="com.android.launcher3.dragndrop.AddItemActivity" |
| 102 | android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" |
Sunny Goyal | b38fab7 | 2017-01-20 19:32:31 -0800 | [diff] [blame] | 103 | android:excludeFromRecents="true" |
| 104 | android:autoRemoveFromRecents="true" |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 105 | android:label="@string/action_add_to_workspace" > |
| 106 | <intent-filter> |
Sunny Goyal | 8b2002e | 2017-01-26 14:40:10 -0800 | [diff] [blame] | 107 | <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" /> |
| 108 | <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" /> |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 109 | </intent-filter> |
| 110 | </activity> |
| 111 | |
Hyunyoung Song | 37fa9b4 | 2017-05-04 15:21:20 -0700 | [diff] [blame] | 112 | <!-- |
| 113 | Should point to the content provider which can be used to dump Launcher3 compatible |
| 114 | worspace configuration to the dump's file descriptor by using launcher_dump.proto |
| 115 | --> |
| 116 | <meta-data |
| 117 | android:name="com.android.launcher3.launcher_dump_provider" |
| 118 | android:value="com.android.launcher3.LauncherProvider" /> |
| 119 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 120 | </application> |
| 121 | </manifest> |