blob: 6faf91b34fce92e41178e0254b4769a602ff2092 [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" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070046 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Patrick Baumannca169112020-02-14 10:32:39 -080047 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Thecrazyskull3052e212017-02-10 09:38:50 -050048 <uses-permission android:name="android.permission.DEVICE_POWER" />
neobuddy89475328e2019-01-26 21:45:02 +053049 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
DennySPBe35c08c2019-12-03 22:58:18 +030050 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
51 <uses-permission android:name="android.permission.STATUS_BAR" />
DennySPbd2deddb2021-03-23 14:47:24 +030052 <uses-permission android:name="android.permission.USE_BIOMETRIC" />
Kshitij Gupta01c644f2021-03-24 04:01:27 +053053 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Hyunyoung Song0a4a4d92020-07-25 00:30:36 +000054
55 <!-- TODO(b/150802536): Enabled only for ENABLE_FIXED_ROTATION_TRANSFORM feature flag -->
56 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Vinit Nayakb9ec9312020-03-04 12:05:28 -080057
Pranav Vashi3268f3b2020-05-25 09:47:19 +053058 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
59
60 <!-- Permissions used for gestures -->
61 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
62 <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" />
63 <uses-permission android:name="android.permission.MANAGE_USERS" />
64 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
65 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
66 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
67 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
68 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
69 <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
70
Sunny Goyal7f920b82018-06-27 15:47:49 -070071 <!--
72 Permissions required for read/write access to the workspace data. These permission name
73 should not conflict with that defined in other apps, as such an app should embed its package
74 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
75 -->
76 <permission
77 android:name="${packageName}.permission.READ_SETTINGS"
78 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
79 android:protectionLevel="signatureOrSystem"
80 android:label="@string/permlab_read_settings"
81 android:description="@string/permdesc_read_settings"/>
82 <permission
83 android:name="${packageName}.permission.WRITE_SETTINGS"
84 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
85 android:protectionLevel="signatureOrSystem"
86 android:label="@string/permlab_write_settings"
87 android:description="@string/permdesc_write_settings"/>
88
89 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
90 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
91
Sunny Goyald83a67a2016-05-23 21:40:53 -070092 <application
93 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
94 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070095 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -070096 android:fullBackupContent="@xml/backupscheme"
97 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080098 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070099 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -0700100 android:largeHeap="@bool/config_largeHeap"
101 android:restoreAnyVersion="true"
102 android:supportsRtl="true" >
103
104 <!-- Intent received used to install shortcuts from other applications -->
105 <receiver
106 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800107 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
108 android:enabled="@bool/enable_install_shortcut_api" >
Sunny Goyald83a67a2016-05-23 21:40:53 -0700109 <intent-filter>
110 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
111 </intent-filter>
112 </receiver>
113
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800114 <!-- Intent received when a session is committed -->
115 <receiver
Hyunyoung Song0a4a4d92020-07-25 00:30:36 +0000116 android:name="com.android.launcher3.SessionCommitReceiver" >
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800117 <intent-filter>
118 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
119 </intent-filter>
120 </receiver>
121
Sunny Goyald83a67a2016-05-23 21:40:53 -0700122 <!-- Intent received used to initialize a restored widget -->
Hyunyoung Song0a4a4d92020-07-25 00:30:36 +0000123 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
Sunny Goyald83a67a2016-05-23 21:40:53 -0700124 <intent-filter>
125 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
126 </intent-filter>
127 </receiver>
128
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700129 <service
Sunny Goyal18c699f2018-05-03 16:58:41 -0700130 android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700131 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -0700132 android:process=":wallpaper_chooser"
133 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700134
Sunny Goyalc466b172018-03-01 16:10:19 -0800135 <service
136 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800137 android:label="@string/notification_dots_service_title"
138 android:enabled="@bool/notification_dots_enabled"
Sunny Goyalc466b172018-03-01 16:10:19 -0800139 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800140 <intent-filter>
141 <action android:name="android.service.notification.NotificationListenerService" />
142 </intent-filter>
143 </service>
144
Sunny Goyald83a67a2016-05-23 21:40:53 -0700145 <meta-data android:name="android.nfc.disable_beam_default"
146 android:value="true" />
147
Sunny Goyal27835952017-01-13 12:15:53 -0800148 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Sunny Goyal367f2192018-10-17 11:24:48 -0700149 android:theme="@style/AppItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800150 android:excludeFromRecents="true"
151 android:autoRemoveFromRecents="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800152 android:label="@string/action_add_to_workspace" >
153 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800154 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
155 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800156 </intent-filter>
157 </activity>
158
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700159 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700160 The settings provider contains Home's data, like the workspace favorites. The permissions
161 should be changed to what is defined above. The authorities should also be changed to
162 represent the package name.
163 -->
164 <provider
165 android:name="com.android.launcher3.LauncherProvider"
166 android:authorities="${packageName}.settings"
167 android:exported="true"
168 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
169 android:readPermission="${packageName}.permission.READ_SETTINGS" />
170
171 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800172 The content provider for exposing various launcher grid options.
173 TODO: Add proper permissions
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700174 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800175 <provider
Tracy Zhou1283f542021-01-27 14:05:01 -0800176 android:name="com.android.launcher3.graphics.GridCustomizationsProvider"
Sunny Goyaleff44f32019-01-09 17:29:49 -0800177 android:authorities="${packageName}.grid_control"
Luca Stefani380b5d12019-11-01 23:17:59 +0100178 android:exported="true"
179 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
180 android:readPermission="${packageName}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800181
182 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700183 The settings activity. To extend point settings_fragment_name to appropriate fragment class
184 -->
185 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700186 android:name="com.android.launcher3.settings.SettingsActivity"
Alex Cruz521fdb12021-05-30 08:07:18 +0000187 android:label="@string/settings_title"
Samuel Fufa9fee0452019-11-12 16:49:21 -0800188 android:theme="@style/HomeSettingsTheme"
Alex Cruz2eef90d2018-10-17 19:03:14 -0500189 android:parentActivityName="com.android.launcher3.Launcher"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700190 android:autoRemoveFromRecents="true">
191 <intent-filter>
192 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
193 <category android:name="android.intent.category.DEFAULT" />
194 </intent-filter>
195 </activity>
196
Sunny Goyalab3963d2019-05-23 00:50:08 -0700197 <provider
198 android:name="com.android.launcher3.testing.TestInformationProvider"
199 android:authorities="${packageName}.TestInfo"
200 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
201 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
202 android:exported="true"
203 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800204
Alex Cruz521fdb12021-05-30 08:07:18 +0000205 <!-- Icons -->
206 <activity
207 android:name="com.android.launcher3.settings.SettingsIcons"
208 android:label="@string/icons_category_title"
209 android:theme="@style/HomeSettingsTheme"
210 android:autoRemoveFromRecents="true"
211 android:parentActivityName="com.android.launcher3.SettingsActivity" />
212
213 <!-- App drawer -->
214 <activity
215 android:name="com.android.launcher3.settings.SettingsAppDrawer"
216 android:label="@string/app_drawer_category_title"
217 android:theme="@style/HomeSettingsTheme"
218 android:autoRemoveFromRecents="true"
219 android:parentActivityName="com.android.launcher3.SettingsActivity" />
220
221 <!-- Homescreen -->
222 <activity
223 android:name="com.android.launcher3.settings.SettingsHomescreen"
224 android:label="@string/home_category_title"
225 android:theme="@style/HomeSettingsTheme"
226 android:autoRemoveFromRecents="true"
227 android:parentActivityName="com.android.launcher3.SettingsActivity" />
228
229 <!-- Misc settings -->
230 <activity
231 android:name="com.android.launcher3.settings.SettingsMisc"
232 android:label="@string/misc_category_title"
233 android:theme="@style/HomeSettingsTheme"
234 android:autoRemoveFromRecents="true"
235 android:parentActivityName="com.android.launcher3.SettingsActivity" />
236
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800237 <!--
238 Launcher activity for secondary display
239 -->
240 <activity
241 android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher"
242 android:theme="@style/AppTheme"
243 android:launchMode="singleTop"
244 android:enabled="true">
245 <intent-filter>
246 <action android:name="android.intent.action.MAIN" />
247 <category android:name="android.intent.category.SECONDARY_HOME" />
248 <category android:name="android.intent.category.DEFAULT" />
249 </intent-filter>
250 </activity>
Sunny Goyald83a67a2016-05-23 21:40:53 -0700251 </application>
252</manifest>