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" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 23 | package="com.android.launcher3"> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 24 | |
| 25 | <!-- |
| 26 | The manifest defines the common entries that should be present in any derivative of Launcher3. |
| 27 | The components should generally not require any changes. |
| 28 | |
| 29 | Rest of the components are defined in AndroidManifest.xml which is merged with this manifest |
| 30 | at compile time. Note that the components defined in AndroidManifest.xml are also required, |
| 31 | with some minor changed based on the derivative app. |
| 32 | --> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 33 | |
| 34 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 35 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 36 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 37 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
| 38 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 39 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Jon Miranda | 94fe9fa | 2017-09-05 13:38:07 -0700 | [diff] [blame] | 40 | <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> |
Hyunyoung Song | 2dac6f8 | 2019-08-16 10:16:39 -0700 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
Patrick Baumann | ca16911 | 2020-02-14 10:32:39 -0800 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Brandon Dayauon | 12c193e | 2022-10-31 14:28:38 -0700 | [diff] [blame^] | 43 | <uses-permission android:name="android.permission.VIBRATE"/> |
Hongwei Wang | f4b60d5 | 2020-11-17 15:57:38 -0800 | [diff] [blame] | 44 | <!-- for rotating surface by arbitrary degree --> |
| 45 | <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" /> |
Steve Elliott | 43c2c6c | 2021-12-03 16:32:19 -0500 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
Pinyao Ting | 0bae1f5 | 2022-10-31 10:51:31 -0700 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.READ_HOME_APP_SEARCH_DATA" /> |
| 48 | |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 49 | <!-- |
| 50 | Permissions required for read/write access to the workspace data. These permission name |
| 51 | should not conflict with that defined in other apps, as such an app should embed its package |
| 52 | name in the permissions. eq com.mypackage.permission.READ_SETTINGS |
| 53 | --> |
| 54 | <permission |
| 55 | android:name="${packageName}.permission.READ_SETTINGS" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 56 | android:protectionLevel="signatureOrSystem" |
| 57 | android:label="@string/permlab_read_settings" |
| 58 | android:description="@string/permdesc_read_settings"/> |
| 59 | <permission |
| 60 | android:name="${packageName}.permission.WRITE_SETTINGS" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 61 | android:protectionLevel="signatureOrSystem" |
| 62 | android:label="@string/permlab_write_settings" |
| 63 | android:description="@string/permdesc_write_settings"/> |
| 64 | |
| 65 | <uses-permission android:name="${packageName}.permission.READ_SETTINGS" /> |
| 66 | <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" /> |
| 67 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 68 | <application |
| 69 | android:backupAgent="com.android.launcher3.LauncherBackupAgent" |
| 70 | android:fullBackupOnly="true" |
Sunny Goyal | 3bba168 | 2016-08-19 13:13:03 -0700 | [diff] [blame] | 71 | android:backupInForeground="true" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 72 | android:fullBackupContent="@xml/backupscheme" |
| 73 | android:hardwareAccelerated="true" |
Hyunyoung Song | 837eb1f | 2017-03-03 11:14:05 -0800 | [diff] [blame] | 74 | android:icon="@drawable/ic_launcher_home" |
Sunny Goyal | 112ce42 | 2016-08-22 16:45:29 -0700 | [diff] [blame] | 75 | android:label="@string/derived_app_name" |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 76 | android:largeHeap="@bool/config_largeHeap" |
| 77 | android:restoreAnyVersion="true" |
| 78 | android:supportsRtl="true" > |
| 79 | |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 80 | <!-- Intent received when a session is committed --> |
| 81 | <receiver |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 82 | android:name="com.android.launcher3.SessionCommitReceiver" |
| 83 | android:exported="true"> |
Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 84 | <intent-filter> |
| 85 | <action android:name="android.content.pm.action.SESSION_COMMITTED" /> |
| 86 | </intent-filter> |
| 87 | </receiver> |
| 88 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 89 | <!-- Intent received used to initialize a restored widget --> |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 90 | <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" |
| 91 | android:exported="true"> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 92 | <intent-filter> |
| 93 | <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/> |
| 94 | </intent-filter> |
| 95 | </receiver> |
| 96 | |
Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 97 | <service |
Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 98 | android:name="com.android.launcher3.notification.NotificationListener" |
Tony Wickham | f34bee8 | 2018-12-03 18:11:39 -0800 | [diff] [blame] | 99 | android:label="@string/notification_dots_service_title" |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 100 | android:exported="true" |
Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 101 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> |
Tony | 4d8019a | 2017-02-13 07:44:01 -0800 | [diff] [blame] | 102 | <intent-filter> |
| 103 | <action android:name="android.service.notification.NotificationListenerService" /> |
| 104 | </intent-filter> |
| 105 | </service> |
| 106 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 107 | <meta-data android:name="android.nfc.disable_beam_default" |
| 108 | android:value="true" /> |
| 109 | |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 110 | <activity android:name="com.android.launcher3.dragndrop.AddItemActivity" |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 111 | android:theme="@style/AddItemActivityTheme" |
Sunny Goyal | b38fab7 | 2017-01-20 19:32:31 -0800 | [diff] [blame] | 112 | android:excludeFromRecents="true" |
| 113 | android:autoRemoveFromRecents="true" |
Alina Zaidi | 6d97d89 | 2021-03-22 10:06:25 +0000 | [diff] [blame] | 114 | android:exported="true"> |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 115 | <intent-filter> |
Sunny Goyal | 8b2002e | 2017-01-26 14:40:10 -0800 | [diff] [blame] | 116 | <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" /> |
| 117 | <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" /> |
Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 118 | </intent-filter> |
| 119 | </activity> |
| 120 | |
Hyunyoung Song | 37fa9b4 | 2017-05-04 15:21:20 -0700 | [diff] [blame] | 121 | <!-- |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 122 | The settings provider contains Home's data, like the workspace favorites. The permissions |
| 123 | should be changed to what is defined above. The authorities should also be changed to |
| 124 | represent the package name. |
| 125 | --> |
| 126 | <provider |
| 127 | android:name="com.android.launcher3.LauncherProvider" |
| 128 | android:authorities="${packageName}.settings" |
| 129 | android:exported="true" |
| 130 | android:writePermission="${packageName}.permission.WRITE_SETTINGS" |
| 131 | android:readPermission="${packageName}.permission.READ_SETTINGS" /> |
| 132 | |
| 133 | <!-- |
Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 134 | The content provider for exposing various launcher grid options. |
| 135 | TODO: Add proper permissions |
Hyunyoung Song | 58de5de | 2019-05-15 14:01:30 -0700 | [diff] [blame] | 136 | --> |
Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 137 | <provider |
Tracy Zhou | 0455d14 | 2021-01-27 14:05:01 -0800 | [diff] [blame] | 138 | android:name="com.android.launcher3.graphics.GridCustomizationsProvider" |
Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 139 | android:authorities="${packageName}.grid_control" |
| 140 | android:exported="true" /> |
| 141 | |
| 142 | <!-- |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 143 | The settings activity. To extend point settings_fragment_name to appropriate fragment class |
| 144 | --> |
| 145 | <activity |
Sunny Goyal | b2498b2 | 2018-10-16 16:36:02 -0700 | [diff] [blame] | 146 | android:name="com.android.launcher3.settings.SettingsActivity" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 147 | android:label="@string/settings_button_text" |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 148 | android:theme="@style/HomeSettings.Theme" |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 149 | android:exported="true" |
Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 150 | android:autoRemoveFromRecents="true"> |
| 151 | <intent-filter> |
| 152 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 153 | <category android:name="android.intent.category.DEFAULT" /> |
| 154 | </intent-filter> |
| 155 | </activity> |
| 156 | |
Sunny Goyal | ab3963d | 2019-05-23 00:50:08 -0700 | [diff] [blame] | 157 | <provider |
| 158 | android:name="com.android.launcher3.testing.TestInformationProvider" |
| 159 | android:authorities="${packageName}.TestInfo" |
| 160 | android:readPermission="android.permission.WRITE_SECURE_SETTINGS" |
| 161 | android:writePermission="android.permission.WRITE_SECURE_SETTINGS" |
| 162 | android:exported="true" |
| 163 | android:enabled="false" /> |
Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 164 | |
| 165 | <!-- |
| 166 | Launcher activity for secondary display |
| 167 | --> |
| 168 | <activity |
| 169 | android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher" |
| 170 | android:theme="@style/AppTheme" |
| 171 | android:launchMode="singleTop" |
Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 172 | android:exported="true" |
Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 173 | android:enabled="true"> |
| 174 | <intent-filter> |
| 175 | <action android:name="android.intent.action.MAIN" /> |
| 176 | <category android:name="android.intent.category.SECONDARY_HOME" /> |
| 177 | <category android:name="android.intent.category.DEFAULT" /> |
| 178 | </intent-filter> |
| 179 | </activity> |
Alan Viverette | a88802e | 2021-08-25 22:06:47 +0000 | [diff] [blame] | 180 | |
| 181 | <!-- [b/197780098] Disable eager initialization of Jetpack libraries. --> |
| 182 | <provider |
| 183 | android:name="androidx.startup.InitializationProvider" |
| 184 | android:authorities="${applicationId}.androidx-startup" |
| 185 | tools:node="remove" /> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 186 | </application> |
| 187 | </manifest> |