blob: 1688ada4c1665d9cf91dee06f628e15e76669b50 [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"
Alex Cruz0a7cdf12018-10-17 19:18:09 -050022 package="com.android.launcher3"
23 coreApp="true"
24 android:sharedUserId="android.uid.system">
Sunny Goyald83a67a2016-05-23 21:40:53 -070025
26 <!--
27 The manifest defines the common entries that should be present in any derivative of Launcher3.
28 The components should generally not require any changes.
29
30 Rest of the components are defined in AndroidManifest.xml which is merged with this manifest
31 at compile time. Note that the components defined in AndroidManifest.xml are also required,
32 with some minor changed based on the derivative app.
33 -->
34 <permission
35 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
36 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
37 android:protectionLevel="dangerous"
38 android:label="@string/permlab_install_shortcut"
39 android:description="@string/permdesc_install_shortcut" />
40
41 <uses-permission android:name="android.permission.CALL_PHONE" />
42 <uses-permission android:name="android.permission.SET_WALLPAPER" />
43 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
44 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
45 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
46 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jon Miranda94fe9fa2017-09-05 13:38:07 -070047 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070048 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
neobuddy899cb384d2019-01-26 21:45:02 +053049 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Thecrazyskull17cf7d12017-02-10 09:38:50 -050050 <uses-permission android:name="android.permission.DEVICE_POWER" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070051
52 <!--
53 Permissions required for read/write access to the workspace data. These permission name
54 should not conflict with that defined in other apps, as such an app should embed its package
55 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
56 -->
57 <permission
58 android:name="${packageName}.permission.READ_SETTINGS"
59 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
60 android:protectionLevel="signatureOrSystem"
61 android:label="@string/permlab_read_settings"
62 android:description="@string/permdesc_read_settings"/>
63 <permission
64 android:name="${packageName}.permission.WRITE_SETTINGS"
65 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
66 android:protectionLevel="signatureOrSystem"
67 android:label="@string/permlab_write_settings"
68 android:description="@string/permdesc_write_settings"/>
69
Chris Crumpc2158022019-12-25 02:00:14 -050070 <!-- Permission for Google remote QSB -->
71 <permission
72 android:name="com.google.android.apps.nexuslauncher.permission.QSB"
73 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
74 android:protectionLevel="signatureOrSystem"/>
75
Sunny Goyal7f920b82018-06-27 15:47:49 -070076 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
77 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
Chris Crumpc2158022019-12-25 02:00:14 -050078 <uses-permission android:name="com.google.android.apps.nexuslauncher.permission.QSB" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070079
Sunny Goyald83a67a2016-05-23 21:40:53 -070080 <application
81 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
82 android:fullBackupOnly="true"
83 android:fullBackupContent="@xml/backupscheme"
84 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080085 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070086 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070087 android:largeHeap="@bool/config_largeHeap"
88 android:restoreAnyVersion="true"
89 android:supportsRtl="true" >
90
91 <!-- Intent received used to install shortcuts from other applications -->
92 <receiver
93 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal4179e9b2017-03-08 14:25:09 -080094 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
95 android:enabled="@bool/enable_install_shortcut_api" >
Sunny Goyald83a67a2016-05-23 21:40:53 -070096 <intent-filter>
97 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
98 </intent-filter>
99 </receiver>
100
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800101 <!-- Intent received when a session is committed -->
102 <receiver
103 android:name="com.android.launcher3.SessionCommitReceiver" >
104 <intent-filter>
105 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
106 </intent-filter>
107 </receiver>
108
Sunny Goyald83a67a2016-05-23 21:40:53 -0700109 <!-- Intent received used to initialize a restored widget -->
110 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
111 <intent-filter>
112 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
113 </intent-filter>
114 </receiver>
115
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700116 <service
Sunny Goyal18c699f2018-05-03 16:58:41 -0700117 android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700118 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -0700119 android:process=":wallpaper_chooser"
120 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700121
Sunny Goyalc466b172018-03-01 16:10:19 -0800122 <service
123 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800124 android:label="@string/notification_dots_service_title"
125 android:enabled="@bool/notification_dots_enabled"
Sunny Goyalc466b172018-03-01 16:10:19 -0800126 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800127 <intent-filter>
128 <action android:name="android.service.notification.NotificationListenerService" />
129 </intent-filter>
130 </service>
131
Sunny Goyald83a67a2016-05-23 21:40:53 -0700132 <meta-data android:name="android.nfc.disable_beam_default"
133 android:value="true" />
134
Sunny Goyal27835952017-01-13 12:15:53 -0800135 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Sunny Goyal367f2192018-10-17 11:24:48 -0700136 android:theme="@style/AppItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800137 android:excludeFromRecents="true"
138 android:autoRemoveFromRecents="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800139 android:label="@string/action_add_to_workspace" >
140 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800141 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
142 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800143 </intent-filter>
144 </activity>
145
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700146 <!--
147 Should point to the content provider which can be used to dump Launcher3 compatible
148 worspace configuration to the dump's file descriptor by using launcher_dump.proto
149 -->
150 <meta-data
151 android:name="com.android.launcher3.launcher_dump_provider"
152 android:value="com.android.launcher3.LauncherProvider" />
153
Sunny Goyal7f920b82018-06-27 15:47:49 -0700154 <!--
155 The settings provider contains Home's data, like the workspace favorites. The permissions
156 should be changed to what is defined above. The authorities should also be changed to
157 represent the package name.
158 -->
159 <provider
160 android:name="com.android.launcher3.LauncherProvider"
161 android:authorities="${packageName}.settings"
162 android:exported="true"
163 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
164 android:readPermission="${packageName}.permission.READ_SETTINGS" />
165
166 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800167 The content provider for exposing various launcher grid options.
Luca Stefani71ccad52019-11-01 23:17:59 +0100168 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800169 <provider
170 android:name="com.android.launcher3.graphics.GridOptionsProvider"
171 android:authorities="${packageName}.grid_control"
Luca Stefani71ccad52019-11-01 23:17:59 +0100172 android:exported="true"
173 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
174 android:readPermission="${packageName}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800175
176 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700177 The settings activity. To extend point settings_fragment_name to appropriate fragment class
178 -->
179 <activity
Amir Zaidi58ef3eb2020-01-11 13:55:58 +0100180 android:name="com.aosp.launcher.AospSettings"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700181 android:label="@string/settings_button_text"
Samuel Fufa9fee0452019-11-12 16:49:21 -0800182 android:theme="@style/HomeSettingsTheme"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700183 android:autoRemoveFromRecents="true">
184 <intent-filter>
185 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
186 <category android:name="android.intent.category.DEFAULT" />
187 </intent-filter>
188 </activity>
189
Sunny Goyalab3963d2019-05-23 00:50:08 -0700190 <provider
191 android:name="com.android.launcher3.testing.TestInformationProvider"
192 android:authorities="${packageName}.TestInfo"
193 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
194 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
195 android:exported="true"
196 android:enabled="false" />
Chris Crumpc2158022019-12-25 02:00:14 -0500197
198 <provider
199 android:name="com.aosp.launcher.search.AppSearchProvider"
200 android:authorities="com.aosp.launcher.appssearch"
201 android:exported="true" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700202 </application>
203</manifest>