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