blob: 91660bbc8f7d206c3ca1e36e844dc197a2417a74 [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"
22 package="com.android.launcher3">
Sunny Goyald83a67a2016-05-23 21:40:53 -070023
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 -->
32 <permission
33 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
34 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
35 android:protectionLevel="dangerous"
36 android:label="@string/permlab_install_shortcut"
37 android:description="@string/permdesc_install_shortcut" />
38
39 <uses-permission android:name="android.permission.CALL_PHONE" />
40 <uses-permission android:name="android.permission.SET_WALLPAPER" />
41 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
42 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
43 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
44 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jon Miranda94fe9fa2017-09-05 13:38:07 -070045 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070046 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Patrick Baumannca169112020-02-14 10:32:39 -080047 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Joey8bb80c82019-01-23 17:49:25 +010048 <uses-permission android:name="android.permission.USE_BIOMETRIC" />
Thecrazyskull3af1e182017-02-10 09:38:50 -050049 <uses-permission android:name="android.permission.DEVICE_POWER" />
Hyunyoung Song0a4a4d92020-07-25 00:30:36 +000050
51 <!-- TODO(b/150802536): Enabled only for ENABLE_FIXED_ROTATION_TRANSFORM feature flag -->
52 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Vinit Nayakb9ec9312020-03-04 12:05:28 -080053
Sunny Goyal7f920b82018-06-27 15:47:49 -070054 <!--
55 Permissions required for read/write access to the workspace data. These permission name
56 should not conflict with that defined in other apps, as such an app should embed its package
57 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
58 -->
59 <permission
60 android:name="${packageName}.permission.READ_SETTINGS"
61 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
62 android:protectionLevel="signatureOrSystem"
63 android:label="@string/permlab_read_settings"
64 android:description="@string/permdesc_read_settings"/>
65 <permission
66 android:name="${packageName}.permission.WRITE_SETTINGS"
67 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
68 android:protectionLevel="signatureOrSystem"
69 android:label="@string/permlab_write_settings"
70 android:description="@string/permdesc_write_settings"/>
71
72 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
73 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
74
Sunny Goyald83a67a2016-05-23 21:40:53 -070075 <application
76 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
77 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070078 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -070079 android:fullBackupContent="@xml/backupscheme"
80 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080081 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070082 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070083 android:largeHeap="@bool/config_largeHeap"
84 android:restoreAnyVersion="true"
85 android:supportsRtl="true" >
86
87 <!-- Intent received used to install shortcuts from other applications -->
88 <receiver
89 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal4179e9b2017-03-08 14:25:09 -080090 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
91 android:enabled="@bool/enable_install_shortcut_api" >
Sunny Goyald83a67a2016-05-23 21:40:53 -070092 <intent-filter>
93 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
94 </intent-filter>
95 </receiver>
96
Sunny Goyal4179e9b2017-03-08 14:25:09 -080097 <!-- Intent received when a session is committed -->
98 <receiver
Hyunyoung Song0a4a4d92020-07-25 00:30:36 +000099 android:name="com.android.launcher3.SessionCommitReceiver" >
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800100 <intent-filter>
101 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
102 </intent-filter>
103 </receiver>
104
Sunny Goyald83a67a2016-05-23 21:40:53 -0700105 <!-- Intent received used to initialize a restored widget -->
Hyunyoung Song0a4a4d92020-07-25 00:30:36 +0000106 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
Sunny Goyald83a67a2016-05-23 21:40:53 -0700107 <intent-filter>
108 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
109 </intent-filter>
110 </receiver>
111
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700112 <service
Sunny Goyal18c699f2018-05-03 16:58:41 -0700113 android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700114 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -0700115 android:process=":wallpaper_chooser"
116 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700117
Sunny Goyalc466b172018-03-01 16:10:19 -0800118 <service
119 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800120 android:label="@string/notification_dots_service_title"
121 android:enabled="@bool/notification_dots_enabled"
Sunny Goyalc466b172018-03-01 16:10:19 -0800122 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800123 <intent-filter>
124 <action android:name="android.service.notification.NotificationListenerService" />
125 </intent-filter>
126 </service>
127
Sunny Goyald83a67a2016-05-23 21:40:53 -0700128 <meta-data android:name="android.nfc.disable_beam_default"
129 android:value="true" />
130
Sunny Goyal27835952017-01-13 12:15:53 -0800131 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Sunny Goyal367f2192018-10-17 11:24:48 -0700132 android:theme="@style/AppItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800133 android:excludeFromRecents="true"
134 android:autoRemoveFromRecents="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800135 android:label="@string/action_add_to_workspace" >
136 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800137 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
138 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800139 </intent-filter>
140 </activity>
141
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700142 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700143 The settings provider contains Home's data, like the workspace favorites. The permissions
144 should be changed to what is defined above. The authorities should also be changed to
145 represent the package name.
146 -->
147 <provider
148 android:name="com.android.launcher3.LauncherProvider"
149 android:authorities="${packageName}.settings"
150 android:exported="true"
151 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
152 android:readPermission="${packageName}.permission.READ_SETTINGS" />
153
154 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800155 The content provider for exposing various launcher grid options.
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700156 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800157 <provider
158 android:name="com.android.launcher3.graphics.GridOptionsProvider"
159 android:authorities="${packageName}.grid_control"
Luca Stefani17fa2b42019-11-01 23:17:59 +0100160 android:exported="true"
161 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
162 android:readPermission="${packageName}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800163
164 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700165 The settings activity. To extend point settings_fragment_name to appropriate fragment class
166 -->
167 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700168 android:name="com.android.launcher3.settings.SettingsActivity"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700169 android:label="@string/settings_button_text"
Samuel Fufa9fee0452019-11-12 16:49:21 -0800170 android:theme="@style/HomeSettingsTheme"
Alex Cruz366d6992018-10-17 19:03:14 -0500171 android:parentActivityName="com.android.launcher3.Launcher"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700172 android:autoRemoveFromRecents="true">
173 <intent-filter>
174 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
175 <category android:name="android.intent.category.DEFAULT" />
176 </intent-filter>
177 </activity>
178
Sunny Goyalab3963d2019-05-23 00:50:08 -0700179 <provider
180 android:name="com.android.launcher3.testing.TestInformationProvider"
181 android:authorities="${packageName}.TestInfo"
182 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
183 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
184 android:exported="true"
185 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800186
187 <!--
188 Launcher activity for secondary display
189 -->
190 <activity
191 android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher"
192 android:theme="@style/AppTheme"
193 android:launchMode="singleTop"
194 android:enabled="true">
195 <intent-filter>
196 <action android:name="android.intent.action.MAIN" />
197 <category android:name="android.intent.category.SECONDARY_HOME" />
198 <category android:name="android.intent.category.DEFAULT" />
199 </intent-filter>
200 </activity>
Joey8bb80c82019-01-23 17:49:25 +0100201
202 <activity
203 android:name="com.android.launcher3.lineage.trust.TrustAppsActivity"
204 android:label="@string/trust_apps_manager_name"
205 android:theme="@android:style/Theme.DeviceDefault.Settings"
206 android:autoRemoveFromRecents="true" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700207 </application>
208</manifest>