Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 1 | <?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 Viverette | a88802e | 2021-08-25 22:06:47 +0000 | [diff] [blame] | 22 | xmlns:tools="http://schemas.android.com/tools" |
Pranav Vashi | c917e98 | 2022-12-13 23:19:47 +0530 | [diff] [blame] | 23 | package="com.android.launcher3" |
| 24 | coreApp="true" |
| 25 | android:sharedUserId="android.uid.system"> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 26 | |
| 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 Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 35 | |
| 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 Miranda | 94fe9fa | 2017-09-05 13:38:07 -0700 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> |
Hyunyoung Song | 2dac6f8 | 2019-08-16 10:16:39 -0700 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
Patrick Baumann | ca16911 | 2020-02-14 10:32:39 -0800 | [diff] [blame] | 44 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Brandon Dayauon | 12c193e | 2022-10-31 14:28:38 -0700 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.VIBRATE"/> |
Oliver Scott | 257d04c | 2021-07-01 23:01:03 -0400 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.SUSPEND_APPS" /> |
| 47 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Hongwei Wang | f4b60d5 | 2020-11-17 15:57:38 -0800 | [diff] [blame] | 48 | <!-- for rotating surface by arbitrary degree --> |
| 49 | <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" /> |
Vishnu Nair | 7b3eb35 | 2022-12-01 17:21:15 -0800 | [diff] [blame] | 50 | <uses-permission android:name="android.permission.WAKEUP_SURFACE_FLINGER" /> |
Steve Elliott | 43c2c6c | 2021-12-03 16:32:19 -0500 | [diff] [blame] | 51 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
Joey | 1d1202c | 2019-01-23 17:49:25 +0100 | [diff] [blame] | 52 | <uses-permission android:name="android.permission.USE_BIOMETRIC" /> |
Thecrazyskull | f24f895 | 2017-02-10 09:38:50 -0500 | [diff] [blame] | 53 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
MLZ94 | 9f8500d | 2022-12-21 21:27:40 +0000 | [diff] [blame] | 54 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> |
Praditia Nur | 4786bb1 | 2024-09-04 23:32:50 +0700 | [diff] [blame] | 55 | <uses-permission android:name="android.permission.INJECT_EVENTS" /> |
Pranav Vashi | e36d9e1 | 2025-03-24 00:17:16 +0530 | [diff] [blame] | 56 | <uses-permission android:name="android.permission.ACCESS_CONTEXTUAL_SEARCH"/> |
Pranav Vashi | 51926c1 | 2022-09-17 17:29:13 +0530 | [diff] [blame] | 57 | <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" /> |
| 58 | <uses-permission android:name="org.omnirom.omnijaws.READ_WEATHER" /> |
minaripenguin | 07236db | 2022-12-26 14:16:30 +0800 | [diff] [blame] | 59 | <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" /> |
| 60 | <uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> |
minaripenguin | 1078cd1 | 2024-11-19 18:02:54 +0800 | [diff] [blame] | 61 | <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM"/> |
minaripenguin | b4071d4 | 2024-10-30 09:58:00 +0800 | [diff] [blame] | 62 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> |
rmp22 | bb429f1 | 2025-05-15 09:45:40 +0800 | [diff] [blame] | 63 | <uses-permission android:name="android.permission.QUERY_USERS" /> |
Pinyao Ting | 0bae1f5 | 2022-10-31 10:51:31 -0700 | [diff] [blame] | 64 | |
Adithya R | d295fc4 | 2024-08-24 13:27:40 +0530 | [diff] [blame] | 65 | <!-- Floating window --> |
| 66 | <uses-permission android:name="com.libremobileos.permission.START_FREEFORM" /> |
| 67 | |
elpaablo | e567b19 | 2022-10-27 03:32:27 +0100 | [diff] [blame] | 68 | <!-- AppLock --> |
| 69 | <uses-permission android:name="android.permission.MANAGE_APP_LOCK" /> |
| 70 | |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 71 | <!-- |
| 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 Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 77 | android:name="${applicationId}.permission.READ_SETTINGS" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 78 | android:protectionLevel="signatureOrSystem" |
| 79 | android:label="@string/permlab_read_settings" |
| 80 | android:description="@string/permdesc_read_settings"/> |
| 81 | <permission |
Sunny Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 82 | android:name="${applicationId}.permission.WRITE_SETTINGS" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 83 | android:protectionLevel="signatureOrSystem" |
| 84 | android:label="@string/permlab_write_settings" |
| 85 | android:description="@string/permdesc_write_settings"/> |
| 86 | |
Sunny Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 87 | <uses-permission android:name="${applicationId}.permission.READ_SETTINGS" /> |
| 88 | <uses-permission android:name="${applicationId}.permission.WRITE_SETTINGS" /> |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 89 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 90 | <application |
| 91 | android:backupAgent="com.android.launcher3.LauncherBackupAgent" |
Sunny Goyal | 79085da | 2023-10-18 11:51:54 -0700 | [diff] [blame] | 92 | android:name="com.android.launcher3.LauncherApplication" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 93 | android:fullBackupOnly="true" |
Sunny Goyal | 3bba168 | 2016-08-19 13:13:03 -0700 | [diff] [blame] | 94 | android:backupInForeground="true" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 95 | android:fullBackupContent="@xml/backupscheme" |
| 96 | android:hardwareAccelerated="true" |
Hyunyoung Song | 837eb1f | 2017-03-03 11:14:05 -0800 | [diff] [blame] | 97 | android:icon="@drawable/ic_launcher_home" |
Sunny Goyal | 112ce42 | 2016-08-22 16:45:29 -0700 | [diff] [blame] | 98 | android:label="@string/derived_app_name" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 99 | android:largeHeap="@bool/config_largeHeap" |
| 100 | android:restoreAnyVersion="true" |
| 101 | android:supportsRtl="true" > |
| 102 | |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 103 | <!-- Intent received when a session is committed --> |
| 104 | <receiver |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 105 | android:name="com.android.launcher3.SessionCommitReceiver" |
| 106 | android:exported="true"> |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 107 | <intent-filter> |
| 108 | <action android:name="android.content.pm.action.SESSION_COMMITTED" /> |
| 109 | </intent-filter> |
| 110 | </receiver> |
| 111 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 112 | <!-- Intent received used to initialize a restored widget --> |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 113 | <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" |
| 114 | android:exported="true"> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 115 | <intent-filter> |
| 116 | <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/> |
| 117 | </intent-filter> |
| 118 | </receiver> |
| 119 | |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 120 | <service |
Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 121 | android:name="com.android.launcher3.notification.NotificationListener" |
Tony Wickham | f34bee8 | 2018-12-03 18:11:39 -0800 | [diff] [blame] | 122 | android:label="@string/notification_dots_service_title" |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 123 | android:exported="true" |
Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 124 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> |
Tony | 4d8019a | 2017-02-13 07:44:01 -0800 | [diff] [blame] | 125 | <intent-filter> |
| 126 | <action android:name="android.service.notification.NotificationListenerService" /> |
| 127 | </intent-filter> |
| 128 | </service> |
| 129 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 130 | <meta-data android:name="android.nfc.disable_beam_default" |
| 131 | android:value="true" /> |
| 132 | |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 133 | <activity android:name="com.android.launcher3.dragndrop.AddItemActivity" |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 134 | android:theme="@style/AddItemActivityTheme" |
Sunny Goyal | b38fab7 | 2017-01-20 19:32:31 -0800 | [diff] [blame] | 135 | android:excludeFromRecents="true" |
| 136 | android:autoRemoveFromRecents="true" |
Alina Zaidi | 6d97d89 | 2021-03-22 10:06:25 +0000 | [diff] [blame] | 137 | android:exported="true"> |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 138 | <intent-filter> |
Sunny Goyal | 8b2002e | 2017-01-26 14:40:10 -0800 | [diff] [blame] | 139 | <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" /> |
| 140 | <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" /> |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 141 | </intent-filter> |
| 142 | </activity> |
| 143 | |
Hyunyoung Song | 37fa9b4 | 2017-05-04 15:21:20 -0700 | [diff] [blame] | 144 | <!-- |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 145 | 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 Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 151 | android:authorities="${applicationId}.settings" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 152 | android:exported="true" |
Sunny Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 153 | android:writePermission="${applicationId}.permission.WRITE_SETTINGS" |
| 154 | android:readPermission="${applicationId}.permission.READ_SETTINGS" /> |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 155 | |
| 156 | <!-- |
Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 157 | The content provider for exposing various launcher grid options. |
Hyunyoung Song | 58de5de | 2019-05-15 14:01:30 -0700 | [diff] [blame] | 158 | --> |
Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 159 | <provider |
Tracy Zhou | 0455d14 | 2021-01-27 14:05:01 -0800 | [diff] [blame] | 160 | android:name="com.android.launcher3.graphics.GridCustomizationsProvider" |
Sunny Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 161 | android:authorities="${applicationId}.grid_control" |
Luca Stefani | a883eda | 2019-11-01 23:17:59 +0100 | [diff] [blame] | 162 | android:exported="true" |
| 163 | android:writePermission="${applicationId}.permission.WRITE_SETTINGS" |
| 164 | android:readPermission="${applicationId}.permission.READ_SETTINGS" /> |
Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 165 | |
| 166 | <!-- |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 167 | The settings activity. To extend point settings_fragment_name to appropriate fragment class |
| 168 | --> |
| 169 | <activity |
Sunny Goyal | b2498b2 | 2018-10-16 16:36:02 -0700 | [diff] [blame] | 170 | android:name="com.android.launcher3.settings.SettingsActivity" |
Alex Cruz | 8336482 | 2020-11-24 03:40:44 +0100 | [diff] [blame] | 171 | android:label="@string/settings_title" |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 172 | android:theme="@style/HomeSettings.Theme" |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 173 | android:exported="true" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 174 | 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 Cruz | 8336482 | 2020-11-24 03:40:44 +0100 | [diff] [blame] | 181 | <!-- 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 Vashi | 1fbdc6f | 2022-11-13 13:50:05 +0530 | [diff] [blame] | 221 | <!-- 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 Goyal | ab3963d | 2019-05-23 00:50:08 -0700 | [diff] [blame] | 229 | <provider |
| 230 | android:name="com.android.launcher3.testing.TestInformationProvider" |
Sunny Goyal | 2958616 | 2024-04-17 23:23:38 -0700 | [diff] [blame] | 231 | android:authorities="${applicationId}.TestInfo" |
Sunny Goyal | ab3963d | 2019-05-23 00:50:08 -0700 | [diff] [blame] | 232 | android:readPermission="android.permission.WRITE_SECURE_SETTINGS" |
| 233 | android:writePermission="android.permission.WRITE_SECURE_SETTINGS" |
| 234 | android:exported="true" |
| 235 | android:enabled="false" /> |
Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 236 | |
| 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 Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 244 | android:exported="true" |
Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 245 | 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 Viverette | a88802e | 2021-08-25 22:06:47 +0000 | [diff] [blame] | 252 | |
Vadim Tryshev | c63c0f7 | 2024-05-10 12:27:39 -0700 | [diff] [blame] | 253 | <!-- Disable eager initialization of Jetpack libraries. See bug 197780098. --> |
Alan Viverette | a88802e | 2021-08-25 22:06:47 +0000 | [diff] [blame] | 254 | <provider |
| 255 | android:name="androidx.startup.InitializationProvider" |
| 256 | android:authorities="${applicationId}.androidx-startup" |
| 257 | tools:node="remove" /> |
Sebastian Franco | 9ae4032 | 2023-10-10 10:50:28 -0700 | [diff] [blame] | 258 | |
| 259 | <property |
| 260 | android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED" |
| 261 | android:value="true" /> |
Joey | 1d1202c | 2019-01-23 17:49:25 +0100 | [diff] [blame] | 262 | |
| 263 | <activity |
| 264 | android:name="com.android.launcher3.lineage.trust.TrustAppsActivity" |
| 265 | android:label="@string/trust_apps_manager_name" |
elpaablo | e567b19 | 2022-10-27 03:32:27 +0100 | [diff] [blame] | 266 | android:permission="android.permission.MANAGE_APP_LOCK" |
minaripenguin | 4bc7e9d | 2024-10-26 20:50:29 +0800 | [diff] [blame] | 267 | android:theme="@style/Theme.SubSettingsBase" |
Joey | 1d1202c | 2019-01-23 17:49:25 +0100 | [diff] [blame] | 268 | android:autoRemoveFromRecents="true" /> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 269 | </application> |
| 270 | </manifest> |