blob: fe8d65e3b1437218430bb4c5d3ddc6855bc38eef [file] [log] [blame]
Sunny Goyald83a67a2016-05-23 21:40:53 -07001<?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 Goyald83a67a2016-05-23 21:40:53 -070023
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 Miranda94fe9fa2017-09-05 13:38:07 -070045 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Sunny Goyald83a67a2016-05-23 21:40:53 -070046
47 <application
48 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
49 android:fullBackupOnly="true"
50 android:fullBackupContent="@xml/backupscheme"
51 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080052 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070053 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070054 android:largeHeap="@bool/config_largeHeap"
55 android:restoreAnyVersion="true"
56 android:supportsRtl="true" >
57
58 <!-- Intent received used to install shortcuts from other applications -->
59 <receiver
60 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal4179e9b2017-03-08 14:25:09 -080061 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
62 android:enabled="@bool/enable_install_shortcut_api" >
Sunny Goyald83a67a2016-05-23 21:40:53 -070063 <intent-filter>
64 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
65 </intent-filter>
66 </receiver>
67
Sunny Goyal4179e9b2017-03-08 14:25:09 -080068 <!-- Intent received when a session is committed -->
69 <receiver
70 android:name="com.android.launcher3.SessionCommitReceiver" >
71 <intent-filter>
72 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
73 </intent-filter>
74 </receiver>
75
Sunny Goyald83a67a2016-05-23 21:40:53 -070076 <!-- Intent received used to initialize a restored widget -->
77 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
78 <intent-filter>
79 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
80 </intent-filter>
81 </receiver>
82
Sunny Goyal3e93ec52017-05-23 14:00:32 -070083 <service
84 android:name="com.android.launcher3.compat.WallpaperManagerCompatVL$ColorExtractionService"
85 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -070086 android:process=":wallpaper_chooser"
87 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -070088
Sunny Goyalc466b172018-03-01 16:10:19 -080089 <service
90 android:name="com.android.launcher3.notification.NotificationListener"
91 android:label="@string/icon_badging_service_title"
92 android:enabled="@bool/notification_badging_enabled"
93 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -080094 <intent-filter>
95 <action android:name="android.service.notification.NotificationListenerService" />
96 </intent-filter>
97 </service>
98
Sunny Goyald83a67a2016-05-23 21:40:53 -070099 <meta-data android:name="android.nfc.disable_beam_default"
100 android:value="true" />
101
Sunny Goyal27835952017-01-13 12:15:53 -0800102 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
103 android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800104 android:excludeFromRecents="true"
105 android:autoRemoveFromRecents="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800106 android:label="@string/action_add_to_workspace" >
107 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800108 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
109 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800110 </intent-filter>
111 </activity>
112
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700113 <!--
114 Should point to the content provider which can be used to dump Launcher3 compatible
115 worspace configuration to the dump's file descriptor by using launcher_dump.proto
116 -->
117 <meta-data
118 android:name="com.android.launcher3.launcher_dump_provider"
119 android:value="com.android.launcher3.LauncherProvider" />
120
Sunny Goyald83a67a2016-05-23 21:40:53 -0700121 </application>
122</manifest>