blob: 05178d753fc844aa56b0f8aa30e897ca4b1a5773 [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"
Alan Viverettea88802e2021-08-25 22:06:47 +000022 xmlns:tools="http://schemas.android.com/tools"
Pranav Vashi77ab0db2022-12-13 23:19:47 +053023 package="com.android.launcher3"
24 coreApp="true"
25 android:sharedUserId="android.uid.system">
Sunny Goyald83a67a2016-05-23 21:40:53 -070026
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 -->
Sunny Goyald83a67a2016-05-23 21:40:53 -070035
36 <uses-permission android:name="android.permission.CALL_PHONE" />
37 <uses-permission android:name="android.permission.SET_WALLPAPER" />
38 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
39 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
40 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
41 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jon Miranda94fe9fa2017-09-05 13:38:07 -070042 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070043 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Patrick Baumannca169112020-02-14 10:32:39 -080044 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Brandon Dayauon12c193e2022-10-31 14:28:38 -070045 <uses-permission android:name="android.permission.VIBRATE"/>
Oliver Scott93f98bb2021-07-01 23:01:03 -040046 <uses-permission android:name="android.permission.SUSPEND_APPS" />
47 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
minaripenguinf84beb72024-10-30 09:58:00 +080048 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
Hongwei Wangf4b60d52020-11-17 15:57:38 -080049 <!-- for rotating surface by arbitrary degree -->
50 <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" />
Vishnu Nair7b3eb352022-12-01 17:21:15 -080051 <uses-permission android:name="android.permission.WAKEUP_SURFACE_FLINGER" />
Steve Elliott43c2c6c2021-12-03 16:32:19 -050052 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
Joeyf1991e12019-01-23 17:49:25 +010053 <uses-permission android:name="android.permission.USE_BIOMETRIC" />
Thecrazyskull65b644a2017-02-10 09:38:50 -050054 <uses-permission android:name="android.permission.DEVICE_POWER" />
MLZ9463d0dac2022-12-21 21:27:40 +000055 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
Pranav Vashi14bb6f02022-06-10 11:02:38 +053056 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
57 <uses-permission android:name="lineageos.permission.WRITE_SETTINGS" />
Pranav Vashi3d4dd2c2022-09-17 17:29:13 +053058 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
59 <uses-permission android:name="org.omnirom.omnijaws.READ_WEATHER" />
minaripenguinf6139d62022-12-26 14:16:30 +080060 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
61 <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
Abhay Singh Gill3075ae92024-08-03 01:42:27 +080062 <uses-permission android:name="android.permission.ACCESS_CONTEXTUAL_SEARCH"/>
Pinyao Ting0bae1f52022-10-31 10:51:31 -070063
LibXZR321a3972022-08-21 18:37:53 +080064 <!-- for parallel spaces -->
65 <uses-permission android:name="com.android.permission.MANAGE_PARALLEL_SPACES" />
66 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
67
minaripenguin4f7c5c62024-11-19 18:02:54 +080068 <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM"/>
69
elpaablo5391fae2022-10-27 03:32:27 +010070 <!-- AppLock -->
71 <uses-permission android:name="android.permission.MANAGE_APP_LOCK" />
72
Adithya R9f35c732024-08-24 13:27:40 +053073 <!-- LMOFreeform -->
74 <uses-permission android:name="com.bliss.permission.START_FREEFORM" />
75
Sunny Goyal7f920b82018-06-27 15:47:49 -070076 <!--
77 Permissions required for read/write access to the workspace data. These permission name
78 should not conflict with that defined in other apps, as such an app should embed its package
79 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
80 -->
81 <permission
Sunny Goyal29586162024-04-17 23:23:38 -070082 android:name="${applicationId}.permission.READ_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070083 android:protectionLevel="signatureOrSystem"
84 android:label="@string/permlab_read_settings"
85 android:description="@string/permdesc_read_settings"/>
86 <permission
Sunny Goyal29586162024-04-17 23:23:38 -070087 android:name="${applicationId}.permission.WRITE_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070088 android:protectionLevel="signatureOrSystem"
89 android:label="@string/permlab_write_settings"
90 android:description="@string/permdesc_write_settings"/>
91
Sunny Goyal29586162024-04-17 23:23:38 -070092 <uses-permission android:name="${applicationId}.permission.READ_SETTINGS" />
93 <uses-permission android:name="${applicationId}.permission.WRITE_SETTINGS" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070094
Sunny Goyald83a67a2016-05-23 21:40:53 -070095 <application
96 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
Sunny Goyal79085da2023-10-18 11:51:54 -070097 android:name="com.android.launcher3.LauncherApplication"
Sunny Goyald83a67a2016-05-23 21:40:53 -070098 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070099 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -0700100 android:fullBackupContent="@xml/backupscheme"
101 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -0800102 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -0700103 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -0700104 android:largeHeap="@bool/config_largeHeap"
105 android:restoreAnyVersion="true"
106 android:supportsRtl="true" >
107
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800108 <!-- Intent received when a session is committed -->
109 <receiver
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700110 android:name="com.android.launcher3.SessionCommitReceiver"
111 android:exported="true">
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800112 <intent-filter>
113 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
114 </intent-filter>
115 </receiver>
116
Sunny Goyald83a67a2016-05-23 21:40:53 -0700117 <!-- Intent received used to initialize a restored widget -->
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700118 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver"
119 android:exported="true">
Sunny Goyald83a67a2016-05-23 21:40:53 -0700120 <intent-filter>
121 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
122 </intent-filter>
123 </receiver>
124
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700125 <service
Sunny Goyalc466b172018-03-01 16:10:19 -0800126 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800127 android:label="@string/notification_dots_service_title"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700128 android:exported="true"
Sunny Goyalc466b172018-03-01 16:10:19 -0800129 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800130 <intent-filter>
131 <action android:name="android.service.notification.NotificationListenerService" />
132 </intent-filter>
133 </service>
134
Sunny Goyald83a67a2016-05-23 21:40:53 -0700135 <meta-data android:name="android.nfc.disable_beam_default"
136 android:value="true" />
137
Sunny Goyal27835952017-01-13 12:15:53 -0800138 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Alina Zaidid80cec62021-05-13 14:13:18 +0100139 android:theme="@style/AddItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800140 android:excludeFromRecents="true"
141 android:autoRemoveFromRecents="true"
Alina Zaidi6d97d892021-03-22 10:06:25 +0000142 android:exported="true">
Sunny Goyal27835952017-01-13 12:15:53 -0800143 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800144 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
145 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800146 </intent-filter>
147 </activity>
148
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700149 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700150 The settings provider contains Home's data, like the workspace favorites. The permissions
151 should be changed to what is defined above. The authorities should also be changed to
152 represent the package name.
153 -->
154 <provider
155 android:name="com.android.launcher3.LauncherProvider"
Sunny Goyal29586162024-04-17 23:23:38 -0700156 android:authorities="${applicationId}.settings"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700157 android:exported="true"
Sunny Goyal29586162024-04-17 23:23:38 -0700158 android:writePermission="${applicationId}.permission.WRITE_SETTINGS"
159 android:readPermission="${applicationId}.permission.READ_SETTINGS" />
Sunny Goyal7f920b82018-06-27 15:47:49 -0700160
161 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800162 The content provider for exposing various launcher grid options.
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700163 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800164 <provider
Tracy Zhou0455d142021-01-27 14:05:01 -0800165 android:name="com.android.launcher3.graphics.GridCustomizationsProvider"
Sunny Goyal29586162024-04-17 23:23:38 -0700166 android:authorities="${applicationId}.grid_control"
Luca Stefani07ee6b82019-11-01 23:17:59 +0100167 android:exported="true"
168 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
169 android:readPermission="${packageName}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800170
171 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700172 The settings activity. To extend point settings_fragment_name to appropriate fragment class
173 -->
174 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700175 android:name="com.android.launcher3.settings.SettingsActivity"
Alex Cruz87b77902020-11-24 03:40:44 +0100176 android:label="@string/settings_title"
Brian Isganitis93031bc2021-06-09 16:34:45 -0400177 android:theme="@style/HomeSettings.Theme"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700178 android:exported="true"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700179 android:autoRemoveFromRecents="true">
180 <intent-filter>
181 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
182 <category android:name="android.intent.category.DEFAULT" />
183 </intent-filter>
184 </activity>
185
Alex Cruz87b77902020-11-24 03:40:44 +0100186 <!-- Icons -->
187 <activity
188 android:name="com.android.launcher3.settings.SettingsIcons"
189 android:label="@string/icons_category_title"
190 android:theme="@style/HomeSettings.Theme"
191 android:exported="true"
192 android:autoRemoveFromRecents="true" />
193
194 <!-- App drawer -->
195 <activity
196 android:name="com.android.launcher3.settings.SettingsAppDrawer"
197 android:label="@string/app_drawer_category_title"
198 android:theme="@style/HomeSettings.Theme"
199 android:exported="true"
200 android:autoRemoveFromRecents="true" />
201
202 <!-- Homescreen -->
203 <activity
204 android:name="com.android.launcher3.settings.SettingsHomescreen"
205 android:label="@string/home_category_title"
206 android:theme="@style/HomeSettings.Theme"
207 android:exported="true"
208 android:autoRemoveFromRecents="true" />
209
210 <!-- Misc settings -->
211 <activity
212 android:name="com.android.launcher3.settings.SettingsMisc"
213 android:label="@string/misc_category_title"
214 android:theme="@style/HomeSettings.Theme"
215 android:exported="true"
216 android:autoRemoveFromRecents="true" />
217
218 <!-- Recents -->
219 <activity
220 android:name="com.android.launcher3.settings.SettingsRecents"
221 android:label="@string/recents_category_title"
222 android:theme="@style/HomeSettings.Theme"
223 android:exported="true"
224 android:autoRemoveFromRecents="true" />
225
Pranav Vashi6f697272022-11-13 13:50:05 +0530226 <!-- Icon Pack -->
227 <activity
228 android:name="com.android.launcher3.icons.pack.IconPackSettingsActivity"
229 android:label="@string/icon_pack_title"
230 android:theme="@style/HomeSettings.Theme"
231 android:exported="true"
232 android:autoRemoveFromRecents="true" />
233
Sunny Goyalab3963d2019-05-23 00:50:08 -0700234 <provider
235 android:name="com.android.launcher3.testing.TestInformationProvider"
Sunny Goyal29586162024-04-17 23:23:38 -0700236 android:authorities="${applicationId}.TestInfo"
Sunny Goyalab3963d2019-05-23 00:50:08 -0700237 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
238 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
239 android:exported="true"
240 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800241
242 <!--
243 Launcher activity for secondary display
244 -->
245 <activity
246 android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher"
247 android:theme="@style/AppTheme"
248 android:launchMode="singleTop"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700249 android:exported="true"
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800250 android:enabled="true">
251 <intent-filter>
252 <action android:name="android.intent.action.MAIN" />
253 <category android:name="android.intent.category.SECONDARY_HOME" />
254 <category android:name="android.intent.category.DEFAULT" />
255 </intent-filter>
256 </activity>
Alan Viverettea88802e2021-08-25 22:06:47 +0000257
Vadim Tryshevc63c0f72024-05-10 12:27:39 -0700258 <!-- Disable eager initialization of Jetpack libraries. See bug 197780098. -->
Alan Viverettea88802e2021-08-25 22:06:47 +0000259 <provider
260 android:name="androidx.startup.InitializationProvider"
261 android:authorities="${applicationId}.androidx-startup"
262 tools:node="remove" />
Sebastian Franco9ae40322023-10-10 10:50:28 -0700263
264 <property
265 android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
266 android:value="true" />
Joeyf1991e12019-01-23 17:49:25 +0100267
268 <activity
269 android:name="com.android.launcher3.lineage.trust.TrustAppsActivity"
270 android:label="@string/trust_apps_manager_name"
elpaablo5391fae2022-10-27 03:32:27 +0100271 android:permission="android.permission.MANAGE_APP_LOCK"
minaripenguin2af42032024-10-26 20:50:29 +0800272 android:theme="@style/Theme.SubSettingsBase"
Joeyf1991e12019-01-23 17:49:25 +0100273 android:autoRemoveFromRecents="true" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700274 </application>
275</manifest>