| 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" | 
 | 22 |     package="com.android.launcher3"> | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 23 |  | 
 | 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 |     --> | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 32 |  | 
| Samuel Fufa | 314761a | 2020-10-14 10:15:07 -0700 | [diff] [blame] | 33 |     <uses-permission android:name="android.permission.INTERNET" /> | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 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" /> | 
| Hongwei Wang | f4b60d5 | 2020-11-17 15:57:38 -0800 | [diff] [blame] | 43 |     <!-- for rotating surface by arbitrary degree --> | 
 | 44 |     <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" /> | 
| Vinit Nayak | b9ec931 | 2020-03-04 12:05:28 -0800 | [diff] [blame] | 45 |      | 
| Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 46 |     <!-- | 
 | 47 |     Permissions required for read/write access to the workspace data. These permission name | 
 | 48 |     should not conflict with that defined in other apps, as such an app should embed its package | 
 | 49 |     name in the permissions. eq com.mypackage.permission.READ_SETTINGS | 
 | 50 |     --> | 
 | 51 |     <permission | 
 | 52 |         android:name="${packageName}.permission.READ_SETTINGS" | 
 | 53 |         android:permissionGroup="android.permission-group.SYSTEM_TOOLS" | 
 | 54 |         android:protectionLevel="signatureOrSystem" | 
 | 55 |         android:label="@string/permlab_read_settings" | 
 | 56 |         android:description="@string/permdesc_read_settings"/> | 
 | 57 |     <permission | 
 | 58 |         android:name="${packageName}.permission.WRITE_SETTINGS" | 
 | 59 |         android:permissionGroup="android.permission-group.SYSTEM_TOOLS" | 
 | 60 |         android:protectionLevel="signatureOrSystem" | 
 | 61 |         android:label="@string/permlab_write_settings" | 
 | 62 |         android:description="@string/permdesc_write_settings"/> | 
 | 63 |  | 
 | 64 |     <uses-permission android:name="${packageName}.permission.READ_SETTINGS" /> | 
 | 65 |     <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" /> | 
 | 66 |  | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 67 |     <application | 
 | 68 |         android:backupAgent="com.android.launcher3.LauncherBackupAgent" | 
 | 69 |         android:fullBackupOnly="true" | 
| Sunny Goyal | 3bba168 | 2016-08-19 13:13:03 -0700 | [diff] [blame] | 70 |         android:backupInForeground="true" | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 71 |         android:fullBackupContent="@xml/backupscheme" | 
 | 72 |         android:hardwareAccelerated="true" | 
| Hyunyoung Song | 837eb1f | 2017-03-03 11:14:05 -0800 | [diff] [blame] | 73 |         android:icon="@drawable/ic_launcher_home" | 
| Sunny Goyal | 112ce42 | 2016-08-22 16:45:29 -0700 | [diff] [blame] | 74 |         android:label="@string/derived_app_name" | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 75 |         android:largeHeap="@bool/config_largeHeap" | 
 | 76 |         android:restoreAnyVersion="true" | 
 | 77 |         android:supportsRtl="true" > | 
 | 78 |  | 
| Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 79 |         <!-- Intent received when a session is committed --> | 
 | 80 |         <receiver | 
| Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 81 |             android:name="com.android.launcher3.SessionCommitReceiver" | 
 | 82 |             android:exported="true"> | 
| Sunny Goyal | 4179e9b | 2017-03-08 14:25:09 -0800 | [diff] [blame] | 83 |             <intent-filter> | 
 | 84 |                 <action android:name="android.content.pm.action.SESSION_COMMITTED" /> | 
 | 85 |             </intent-filter> | 
 | 86 |         </receiver> | 
 | 87 |  | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 88 |         <!-- Intent received used to initialize a restored widget --> | 
| Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 89 |         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" | 
 | 90 |             android:exported="true"> | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 91 |             <intent-filter> | 
 | 92 |                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/> | 
 | 93 |             </intent-filter> | 
 | 94 |         </receiver> | 
 | 95 |  | 
| Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 96 |         <service | 
| Sunny Goyal | 18c699f | 2018-05-03 16:58:41 -0700 | [diff] [blame] | 97 |             android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService" | 
| Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 98 |             android:exported="false" | 
| Sunny Goyal | 8231596 | 2017-06-08 14:27:49 -0700 | [diff] [blame] | 99 |             android:process=":wallpaper_chooser" | 
 | 100 |             android:permission="android.permission.BIND_JOB_SERVICE" /> | 
| Sunny Goyal | 3e93ec5 | 2017-05-23 14:00:32 -0700 | [diff] [blame] | 101 |  | 
| Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 102 |         <service | 
 | 103 |             android:name="com.android.launcher3.notification.NotificationListener" | 
| Tony Wickham | f34bee8 | 2018-12-03 18:11:39 -0800 | [diff] [blame] | 104 |             android:label="@string/notification_dots_service_title" | 
| Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 105 |             android:exported="true" | 
| Sunny Goyal | c466b17 | 2018-03-01 16:10:19 -0800 | [diff] [blame] | 106 |             android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> | 
| Tony | 4d8019a | 2017-02-13 07:44:01 -0800 | [diff] [blame] | 107 |             <intent-filter> | 
 | 108 |                 <action android:name="android.service.notification.NotificationListenerService" /> | 
 | 109 |             </intent-filter> | 
 | 110 |         </service> | 
 | 111 |  | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 112 |         <meta-data android:name="android.nfc.disable_beam_default" | 
 | 113 |                        android:value="true" /> | 
 | 114 |  | 
| Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 115 |         <activity android:name="com.android.launcher3.dragndrop.AddItemActivity" | 
| Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 116 |             android:theme="@style/AppItemActivityTheme" | 
| Sunny Goyal | b38fab7 | 2017-01-20 19:32:31 -0800 | [diff] [blame] | 117 |             android:excludeFromRecents="true" | 
 | 118 |             android:autoRemoveFromRecents="true" | 
| Alina Zaidi | 6d97d89 | 2021-03-22 10:06:25 +0000 | [diff] [blame] | 119 |             android:exported="true"> | 
| Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 120 |             <intent-filter> | 
| Sunny Goyal | 8b2002e | 2017-01-26 14:40:10 -0800 | [diff] [blame] | 121 |                 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" /> | 
 | 122 |                 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" /> | 
| Sunny Goyal | 2783595 | 2017-01-13 12:15:53 -0800 | [diff] [blame] | 123 |             </intent-filter> | 
 | 124 |         </activity> | 
 | 125 |  | 
| Hyunyoung Song | 37fa9b4 | 2017-05-04 15:21:20 -0700 | [diff] [blame] | 126 |         <!-- | 
| Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 127 |         The settings provider contains Home's data, like the workspace favorites. The permissions | 
 | 128 |         should be changed to what is defined above. The authorities should also be changed to | 
 | 129 |         represent the package name. | 
 | 130 |         --> | 
 | 131 |         <provider | 
 | 132 |             android:name="com.android.launcher3.LauncherProvider" | 
 | 133 |             android:authorities="${packageName}.settings" | 
 | 134 |             android:exported="true" | 
 | 135 |             android:writePermission="${packageName}.permission.WRITE_SETTINGS" | 
 | 136 |             android:readPermission="${packageName}.permission.READ_SETTINGS" /> | 
 | 137 |  | 
 | 138 |         <!-- | 
| Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 139 |         The content provider for exposing various launcher grid options. | 
 | 140 |         TODO: Add proper permissions | 
| Hyunyoung Song | 58de5de | 2019-05-15 14:01:30 -0700 | [diff] [blame] | 141 |         --> | 
| Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 142 |         <provider | 
| Tracy Zhou | 0455d14 | 2021-01-27 14:05:01 -0800 | [diff] [blame] | 143 |             android:name="com.android.launcher3.graphics.GridCustomizationsProvider" | 
| Sunny Goyal | eff44f3 | 2019-01-09 17:29:49 -0800 | [diff] [blame] | 144 |             android:authorities="${packageName}.grid_control" | 
 | 145 |             android:exported="true" /> | 
 | 146 |  | 
 | 147 |         <!-- | 
| Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 148 |         The settings activity. To extend point settings_fragment_name to appropriate fragment class | 
 | 149 |         --> | 
 | 150 |         <activity | 
| Sunny Goyal | b2498b2 | 2018-10-16 16:36:02 -0700 | [diff] [blame] | 151 |             android:name="com.android.launcher3.settings.SettingsActivity" | 
| Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 152 |             android:label="@string/settings_button_text" | 
| Samuel Fufa | 9fee045 | 2019-11-12 16:49:21 -0800 | [diff] [blame] | 153 |             android:theme="@style/HomeSettingsTheme" | 
| Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 154 |             android:exported="true" | 
| Sunny Goyal | 7f920b8 | 2018-06-27 15:47:49 -0700 | [diff] [blame] | 155 |             android:autoRemoveFromRecents="true"> | 
 | 156 |             <intent-filter> | 
 | 157 |                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> | 
 | 158 |                 <category android:name="android.intent.category.DEFAULT" /> | 
 | 159 |             </intent-filter> | 
 | 160 |         </activity> | 
 | 161 |  | 
| Sunny Goyal | ab3963d | 2019-05-23 00:50:08 -0700 | [diff] [blame] | 162 |         <provider | 
 | 163 |             android:name="com.android.launcher3.testing.TestInformationProvider" | 
 | 164 |             android:authorities="${packageName}.TestInfo" | 
 | 165 |             android:readPermission="android.permission.WRITE_SECURE_SETTINGS" | 
 | 166 |             android:writePermission="android.permission.WRITE_SECURE_SETTINGS" | 
 | 167 |             android:exported="true" | 
 | 168 |             android:enabled="false" /> | 
| Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 169 |  | 
 | 170 |         <!-- | 
 | 171 |         Launcher activity for secondary display | 
 | 172 |         --> | 
 | 173 |         <activity | 
 | 174 |             android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher" | 
 | 175 |             android:theme="@style/AppTheme" | 
 | 176 |             android:launchMode="singleTop" | 
| Ashwini Oruganti | aa902e8 | 2020-06-04 17:47:09 -0700 | [diff] [blame] | 177 |             android:exported="true" | 
| Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 178 |             android:enabled="true"> | 
 | 179 |             <intent-filter> | 
 | 180 |                 <action android:name="android.intent.action.MAIN" /> | 
 | 181 |                 <category android:name="android.intent.category.SECONDARY_HOME" /> | 
 | 182 |                 <category android:name="android.intent.category.DEFAULT" /> | 
 | 183 |             </intent-filter> | 
 | 184 |         </activity> | 
| Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 185 |     </application> | 
 | 186 | </manifest> |