blob: afdc8fe00aaa717708a55ec20087b9fc513c7ec7 [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"
Alex Cruza99e28c2018-10-17 19:18:09 -050022 package="com.android.launcher3"
23 coreApp="true"
24 android:sharedUserId="android.uid.system">
Sunny Goyald83a67a2016-05-23 21:40:53 -070025
26 <!--
27 The manifest defines the common entries that should be present in any derivative of Launcher3.
28 The components should generally not require any changes.
29
30 Rest of the components are defined in AndroidManifest.xml which is merged with this manifest
31 at compile time. Note that the components defined in AndroidManifest.xml are also required,
32 with some minor changed based on the derivative app.
33 -->
34 <permission
35 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
36 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
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" />
Jon Miranda94fe9fa2017-09-05 13:38:07 -070047 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070048 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
neobuddy8938e027e2019-01-26 21:45:02 +053049 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Amir Zaidiab18ac32019-02-01 00:15:14 +010050 <uses-permission android:name="android.permission.MANAGE_USERS" />
ezio84ed234ab2018-10-27 23:40:21 +020051 <uses-permission android:name="android.permission.DEVICE_POWER" />
52
ezio84a819dbc2018-11-07 23:48:51 +010053 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
Amir Zaidi2383d182019-04-01 17:50:41 +020054 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
El Dainosoree934262019-08-30 02:37:47 +000055 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
Pranav Vashied08f552020-05-03 03:17:46 +053056 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
Pranav Vashiac9b0e12020-05-23 22:44:10 +053057 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070058
Alex Cruz52aa1022019-01-18 11:41:49 -060059 <!-- Permissions used for gestures -->
Alex Cruz52aa1022019-01-18 11:41:49 -060060 <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" />
61 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Alex Cruz52aa1022019-01-18 11:41:49 -060062 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
Pranav Vashi6bf4ef12020-05-25 09:47:19 +053063 <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
Alex Cruz52aa1022019-01-18 11:41:49 -060064
Sunny Goyal7f920b82018-06-27 15:47:49 -070065 <!--
66 Permissions required for read/write access to the workspace data. These permission name
67 should not conflict with that defined in other apps, as such an app should embed its package
68 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
69 -->
70 <permission
71 android:name="${packageName}.permission.READ_SETTINGS"
72 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
73 android:protectionLevel="signatureOrSystem"
74 android:label="@string/permlab_read_settings"
75 android:description="@string/permdesc_read_settings"/>
76 <permission
77 android:name="${packageName}.permission.WRITE_SETTINGS"
78 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
79 android:protectionLevel="signatureOrSystem"
80 android:label="@string/permlab_write_settings"
81 android:description="@string/permdesc_write_settings"/>
82
83 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
84 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
85
Chris0afcc2a2018-12-16 19:11:15 -050086 <!-- QuickSpace -->
87 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
88 <uses-permission android:name="org.omnirom.omnijaws.READ_WEATHER" />
89
Sunny Goyald83a67a2016-05-23 21:40:53 -070090 <application
91 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
92 android:fullBackupOnly="true"
93 android:fullBackupContent="@xml/backupscheme"
94 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080095 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070096 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070097 android:largeHeap="@bool/config_largeHeap"
98 android:restoreAnyVersion="true"
99 android:supportsRtl="true" >
100
101 <!-- Intent received used to install shortcuts from other applications -->
102 <receiver
103 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800104 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
105 android:enabled="@bool/enable_install_shortcut_api" >
Sunny Goyald83a67a2016-05-23 21:40:53 -0700106 <intent-filter>
107 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
108 </intent-filter>
109 </receiver>
110
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800111 <!-- Intent received when a session is committed -->
112 <receiver
113 android:name="com.android.launcher3.SessionCommitReceiver" >
114 <intent-filter>
115 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
116 </intent-filter>
117 </receiver>
118
Sunny Goyald83a67a2016-05-23 21:40:53 -0700119 <!-- Intent received used to initialize a restored widget -->
120 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
121 <intent-filter>
122 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
123 </intent-filter>
124 </receiver>
125
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700126 <service
Sunny Goyal18c699f2018-05-03 16:58:41 -0700127 android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700128 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -0700129 android:process=":wallpaper_chooser"
130 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700131
Sunny Goyalc466b172018-03-01 16:10:19 -0800132 <service
133 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800134 android:label="@string/notification_dots_service_title"
135 android:enabled="@bool/notification_dots_enabled"
Sunny Goyalc466b172018-03-01 16:10:19 -0800136 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800137 <intent-filter>
138 <action android:name="android.service.notification.NotificationListenerService" />
139 </intent-filter>
140 </service>
141
Sunny Goyald83a67a2016-05-23 21:40:53 -0700142 <meta-data android:name="android.nfc.disable_beam_default"
143 android:value="true" />
144
Sunny Goyal27835952017-01-13 12:15:53 -0800145 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Sunny Goyal367f2192018-10-17 11:24:48 -0700146 android:theme="@style/AppItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800147 android:excludeFromRecents="true"
148 android:autoRemoveFromRecents="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800149 android:label="@string/action_add_to_workspace" >
150 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800151 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
152 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800153 </intent-filter>
154 </activity>
155
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700156 <!--
157 Should point to the content provider which can be used to dump Launcher3 compatible
158 worspace configuration to the dump's file descriptor by using launcher_dump.proto
159 -->
160 <meta-data
161 android:name="com.android.launcher3.launcher_dump_provider"
162 android:value="com.android.launcher3.LauncherProvider" />
163
Sunny Goyal7f920b82018-06-27 15:47:49 -0700164 <!--
165 The settings provider contains Home's data, like the workspace favorites. The permissions
166 should be changed to what is defined above. The authorities should also be changed to
167 represent the package name.
168 -->
169 <provider
170 android:name="com.android.launcher3.LauncherProvider"
171 android:authorities="${packageName}.settings"
172 android:exported="true"
173 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
174 android:readPermission="${packageName}.permission.READ_SETTINGS" />
175
176 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800177 The content provider for exposing various launcher grid options.
Luca Stefani4585f232019-11-01 23:17:59 +0100178 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800179 <provider
180 android:name="com.android.launcher3.graphics.GridOptionsProvider"
181 android:authorities="${packageName}.grid_control"
Luca Stefani4585f232019-11-01 23:17:59 +0100182 android:exported="true"
183 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
184 android:readPermission="${packageName}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800185
186 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700187 The settings activity. To extend point settings_fragment_name to appropriate fragment class
188 -->
189 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700190 android:name="com.android.launcher3.settings.SettingsActivity"
Alex Cruz8022b272019-10-09 04:36:53 +0000191 android:label="@string/settings_title"
Samuel Fufa9fee0452019-11-12 16:49:21 -0800192 android:theme="@style/HomeSettingsTheme"
Alex Cruz4c4f5d52018-10-17 19:03:14 -0500193 android:parentActivityName="com.android.launcher3.Launcher"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700194 android:autoRemoveFromRecents="true">
195 <intent-filter>
196 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
197 <category android:name="android.intent.category.DEFAULT" />
198 </intent-filter>
199 </activity>
200
Alex Cruz8022b272019-10-09 04:36:53 +0000201 <!-- Icons -->
202 <activity
203 android:name="com.android.launcher3.settings.SettingsIcons"
204 android:label="@string/icons_category_title"
205 android:theme="@android:style/Theme.DeviceDefault.Settings"
206 android:autoRemoveFromRecents="true"
El Dainosor0b055442020-01-19 18:57:38 +0100207 android:parentActivityName="com.android.launcher3.settings.SettingsActivity" />
Alex Cruz8022b272019-10-09 04:36:53 +0000208 <!-- App drawer -->
209 <activity
210 android:name="com.android.launcher3.settings.SettingsAppDrawer"
211 android:label="@string/app_drawer_category_title"
212 android:theme="@android:style/Theme.DeviceDefault.Settings"
213 android:autoRemoveFromRecents="true"
El Dainosor0b055442020-01-19 18:57:38 +0100214 android:parentActivityName="com.android.launcher3.settings.SettingsActivity" />
Alex Cruz8022b272019-10-09 04:36:53 +0000215
216 <!-- Homescreen -->
217 <activity
218 android:name="com.android.launcher3.settings.SettingsHomescreen"
219 android:label="@string/home_category_title"
220 android:theme="@android:style/Theme.DeviceDefault.Settings"
221 android:autoRemoveFromRecents="true"
El Dainosor0b055442020-01-19 18:57:38 +0100222 android:parentActivityName="com.android.launcher3.settings.SettingsActivity" />
Alex Cruz8022b272019-10-09 04:36:53 +0000223
Alex Cruzf86bf0b2018-10-28 23:33:16 -0500224 <!-- Gestures -->
225 <activity
226 android:name="com.android.launcher3.settings.Gestures"
227 android:label="@string/gestures_category_title"
228 android:theme="@android:style/Theme.DeviceDefault.Settings"
229 android:autoRemoveFromRecents="true"
230 android:parentActivityName="com.android.launcher3.settings.SettingsActivity" />
231
Alex Cruz8022b272019-10-09 04:36:53 +0000232 <!-- Misc settings -->
233 <activity
234 android:name="com.android.launcher3.settings.SettingsMisc"
235 android:label="@string/misc_category_title"
236 android:theme="@android:style/Theme.DeviceDefault.Settings"
237 android:autoRemoveFromRecents="true"
El Dainosor0b055442020-01-19 18:57:38 +0100238 android:parentActivityName="com.android.launcher3.settings.SettingsActivity" />
Alex Cruz8022b272019-10-09 04:36:53 +0000239
Sunny Goyalab3963d2019-05-23 00:50:08 -0700240 <provider
241 android:name="com.android.launcher3.testing.TestInformationProvider"
242 android:authorities="${packageName}.TestInfo"
243 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
244 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
245 android:exported="true"
246 android:enabled="false" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700247 </application>
248</manifest>