blob: 9684407adca90d583a26f279322a93f104fee1ae [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 Vashic917e982022-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 Scott257d04c2021-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" />
Hongwei Wangf4b60d52020-11-17 15:57:38 -080048 <!-- for rotating surface by arbitrary degree -->
49 <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" />
Vishnu Nair7b3eb352022-12-01 17:21:15 -080050 <uses-permission android:name="android.permission.WAKEUP_SURFACE_FLINGER" />
Steve Elliott43c2c6c2021-12-03 16:32:19 -050051 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
Joey1d1202c2019-01-23 17:49:25 +010052 <uses-permission android:name="android.permission.USE_BIOMETRIC" />
Thecrazyskullf24f8952017-02-10 09:38:50 -050053 <uses-permission android:name="android.permission.DEVICE_POWER" />
MLZ949f8500d2022-12-21 21:27:40 +000054 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
Praditia Nur4786bb12024-09-04 23:32:50 +070055 <uses-permission android:name="android.permission.INJECT_EVENTS" />
Pranav Vashie36d9e12025-03-24 00:17:16 +053056 <uses-permission android:name="android.permission.ACCESS_CONTEXTUAL_SEARCH"/>
Pranav Vashi51926c12022-09-17 17:29:13 +053057 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
58 <uses-permission android:name="org.omnirom.omnijaws.READ_WEATHER" />
minaripenguin07236db2022-12-26 14:16:30 +080059 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
60 <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
minaripenguin1078cd12024-11-19 18:02:54 +080061 <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM"/>
minaripenguinb4071d42024-10-30 09:58:00 +080062 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
rmp22bb429f12025-05-15 09:45:40 +080063 <uses-permission android:name="android.permission.QUERY_USERS" />
Pinyao Ting0bae1f52022-10-31 10:51:31 -070064
Adithya Rd295fc42024-08-24 13:27:40 +053065 <!-- Floating window -->
66 <uses-permission android:name="com.libremobileos.permission.START_FREEFORM" />
67
elpaabloe567b192022-10-27 03:32:27 +010068 <!-- AppLock -->
69 <uses-permission android:name="android.permission.MANAGE_APP_LOCK" />
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
Sunny Goyal29586162024-04-17 23:23:38 -070077 android:name="${applicationId}.permission.READ_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070078 android:protectionLevel="signatureOrSystem"
79 android:label="@string/permlab_read_settings"
80 android:description="@string/permdesc_read_settings"/>
81 <permission
Sunny Goyal29586162024-04-17 23:23:38 -070082 android:name="${applicationId}.permission.WRITE_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070083 android:protectionLevel="signatureOrSystem"
84 android:label="@string/permlab_write_settings"
85 android:description="@string/permdesc_write_settings"/>
86
Sunny Goyal29586162024-04-17 23:23:38 -070087 <uses-permission android:name="${applicationId}.permission.READ_SETTINGS" />
88 <uses-permission android:name="${applicationId}.permission.WRITE_SETTINGS" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070089
Sunny Goyald83a67a2016-05-23 21:40:53 -070090 <application
91 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
Sunny Goyal79085da2023-10-18 11:51:54 -070092 android:name="com.android.launcher3.LauncherApplication"
Sunny Goyald83a67a2016-05-23 21:40:53 -070093 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070094 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -070095 android:fullBackupContent="@xml/backupscheme"
96 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080097 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070098 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070099 android:largeHeap="@bool/config_largeHeap"
100 android:restoreAnyVersion="true"
101 android:supportsRtl="true" >
102
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800103 <!-- Intent received when a session is committed -->
104 <receiver
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700105 android:name="com.android.launcher3.SessionCommitReceiver"
106 android:exported="true">
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800107 <intent-filter>
108 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
109 </intent-filter>
110 </receiver>
111
Sunny Goyald83a67a2016-05-23 21:40:53 -0700112 <!-- Intent received used to initialize a restored widget -->
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700113 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver"
114 android:exported="true">
Sunny Goyald83a67a2016-05-23 21:40:53 -0700115 <intent-filter>
116 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
117 </intent-filter>
118 </receiver>
119
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700120 <service
Sunny Goyalc466b172018-03-01 16:10:19 -0800121 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800122 android:label="@string/notification_dots_service_title"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700123 android:exported="true"
Sunny Goyalc466b172018-03-01 16:10:19 -0800124 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800125 <intent-filter>
126 <action android:name="android.service.notification.NotificationListenerService" />
127 </intent-filter>
128 </service>
129
Sunny Goyald83a67a2016-05-23 21:40:53 -0700130 <meta-data android:name="android.nfc.disable_beam_default"
131 android:value="true" />
132
Sunny Goyal27835952017-01-13 12:15:53 -0800133 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Alina Zaidid80cec62021-05-13 14:13:18 +0100134 android:theme="@style/AddItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800135 android:excludeFromRecents="true"
136 android:autoRemoveFromRecents="true"
Alina Zaidi6d97d892021-03-22 10:06:25 +0000137 android:exported="true">
Sunny Goyal27835952017-01-13 12:15:53 -0800138 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800139 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
140 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800141 </intent-filter>
142 </activity>
143
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700144 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700145 The settings provider contains Home's data, like the workspace favorites. The permissions
146 should be changed to what is defined above. The authorities should also be changed to
147 represent the package name.
148 -->
149 <provider
150 android:name="com.android.launcher3.LauncherProvider"
Sunny Goyal29586162024-04-17 23:23:38 -0700151 android:authorities="${applicationId}.settings"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700152 android:exported="true"
Sunny Goyal29586162024-04-17 23:23:38 -0700153 android:writePermission="${applicationId}.permission.WRITE_SETTINGS"
154 android:readPermission="${applicationId}.permission.READ_SETTINGS" />
Sunny Goyal7f920b82018-06-27 15:47:49 -0700155
156 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800157 The content provider for exposing various launcher grid options.
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700158 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800159 <provider
Tracy Zhou0455d142021-01-27 14:05:01 -0800160 android:name="com.android.launcher3.graphics.GridCustomizationsProvider"
Sunny Goyal29586162024-04-17 23:23:38 -0700161 android:authorities="${applicationId}.grid_control"
Luca Stefania883eda2019-11-01 23:17:59 +0100162 android:exported="true"
163 android:writePermission="${applicationId}.permission.WRITE_SETTINGS"
164 android:readPermission="${applicationId}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800165
166 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700167 The settings activity. To extend point settings_fragment_name to appropriate fragment class
168 -->
169 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700170 android:name="com.android.launcher3.settings.SettingsActivity"
Alex Cruz83364822020-11-24 03:40:44 +0100171 android:label="@string/settings_title"
Brian Isganitis93031bc2021-06-09 16:34:45 -0400172 android:theme="@style/HomeSettings.Theme"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700173 android:exported="true"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700174 android:autoRemoveFromRecents="true">
175 <intent-filter>
176 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
177 <category android:name="android.intent.category.DEFAULT" />
178 </intent-filter>
179 </activity>
180
Alex Cruz83364822020-11-24 03:40:44 +0100181 <!-- Icons -->
182 <activity
183 android:name="com.android.launcher3.settings.SettingsIcons"
184 android:label="@string/icons_category_title"
185 android:theme="@style/HomeSettings.Theme"
186 android:exported="true"
187 android:autoRemoveFromRecents="true" />
188
189 <!-- App drawer -->
190 <activity
191 android:name="com.android.launcher3.settings.SettingsAppDrawer"
192 android:label="@string/app_drawer_category_title"
193 android:theme="@style/HomeSettings.Theme"
194 android:exported="true"
195 android:autoRemoveFromRecents="true" />
196
197 <!-- Homescreen -->
198 <activity
199 android:name="com.android.launcher3.settings.SettingsHomescreen"
200 android:label="@string/home_category_title"
201 android:theme="@style/HomeSettings.Theme"
202 android:exported="true"
203 android:autoRemoveFromRecents="true" />
204
205 <!-- Misc settings -->
206 <activity
207 android:name="com.android.launcher3.settings.SettingsMisc"
208 android:label="@string/misc_category_title"
209 android:theme="@style/HomeSettings.Theme"
210 android:exported="true"
211 android:autoRemoveFromRecents="true" />
212
213 <!-- Recents -->
214 <activity
215 android:name="com.android.launcher3.settings.SettingsRecents"
216 android:label="@string/recents_category_title"
217 android:theme="@style/HomeSettings.Theme"
218 android:exported="true"
219 android:autoRemoveFromRecents="true" />
220
Pranav Vashi1fbdc6f2022-11-13 13:50:05 +0530221 <!-- Icon Pack -->
222 <activity
223 android:name="com.android.launcher3.icons.pack.IconPackSettingsActivity"
224 android:label="@string/icon_pack_title"
225 android:theme="@style/HomeSettings.Theme"
226 android:exported="true"
227 android:autoRemoveFromRecents="true" />
228
Sunny Goyalab3963d2019-05-23 00:50:08 -0700229 <provider
230 android:name="com.android.launcher3.testing.TestInformationProvider"
Sunny Goyal29586162024-04-17 23:23:38 -0700231 android:authorities="${applicationId}.TestInfo"
Sunny Goyalab3963d2019-05-23 00:50:08 -0700232 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
233 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
234 android:exported="true"
235 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800236
237 <!--
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"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700244 android:exported="true"
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800245 android:enabled="true">
246 <intent-filter>
247 <action android:name="android.intent.action.MAIN" />
248 <category android:name="android.intent.category.SECONDARY_HOME" />
249 <category android:name="android.intent.category.DEFAULT" />
250 </intent-filter>
251 </activity>
Alan Viverettea88802e2021-08-25 22:06:47 +0000252
Vadim Tryshevc63c0f72024-05-10 12:27:39 -0700253 <!-- Disable eager initialization of Jetpack libraries. See bug 197780098. -->
Alan Viverettea88802e2021-08-25 22:06:47 +0000254 <provider
255 android:name="androidx.startup.InitializationProvider"
256 android:authorities="${applicationId}.androidx-startup"
257 tools:node="remove" />
Sebastian Franco9ae40322023-10-10 10:50:28 -0700258
259 <property
260 android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
261 android:value="true" />
Joey1d1202c2019-01-23 17:49:25 +0100262
263 <activity
264 android:name="com.android.launcher3.lineage.trust.TrustAppsActivity"
265 android:label="@string/trust_apps_manager_name"
elpaabloe567b192022-10-27 03:32:27 +0100266 android:permission="android.permission.MANAGE_APP_LOCK"
minaripenguin4bc7e9d2024-10-26 20:50:29 +0800267 android:theme="@style/Theme.SubSettingsBase"
Joey1d1202c2019-01-23 17:49:25 +0100268 android:autoRemoveFromRecents="true" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700269 </application>
270</manifest>