blob: a7989d0c10e97da867ca495f5fbb8d02d732e40c [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 Cruz25ee09e2018-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" />
neobuddy89fd3f8da2019-01-26 21:45:02 +053049 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Thecrazyskull09310d72017-02-10 09:38:50 -050050 <uses-permission android:name="android.permission.DEVICE_POWER" />
ezio846dfef302018-11-07 23:48:51 +010051 <uses-permission android:name="android.permission.MANAGE_USERS" />
52 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070053
54 <!--
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
Chris Crump6293f372019-12-25 02:00:14 -050072 <!-- Permission for Google remote QSB -->
73 <permission
74 android:name="com.google.android.apps.nexuslauncher.permission.QSB"
75 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
76 android:protectionLevel="signatureOrSystem"/>
77
Sunny Goyal7f920b82018-06-27 15:47:49 -070078 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
79 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
Chris Crump6293f372019-12-25 02:00:14 -050080 <uses-permission android:name="com.google.android.apps.nexuslauncher.permission.QSB" />
Sunny Goyal7f920b82018-06-27 15:47:49 -070081
Sunny Goyald83a67a2016-05-23 21:40:53 -070082 <application
83 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
84 android:fullBackupOnly="true"
85 android:fullBackupContent="@xml/backupscheme"
86 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080087 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070088 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070089 android:largeHeap="@bool/config_largeHeap"
90 android:restoreAnyVersion="true"
91 android:supportsRtl="true" >
92
93 <!-- Intent received used to install shortcuts from other applications -->
94 <receiver
95 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal4179e9b2017-03-08 14:25:09 -080096 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
97 android:enabled="@bool/enable_install_shortcut_api" >
Sunny Goyald83a67a2016-05-23 21:40:53 -070098 <intent-filter>
99 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
100 </intent-filter>
101 </receiver>
102
Sunny Goyal4179e9b2017-03-08 14:25:09 -0800103 <!-- Intent received when a session is committed -->
104 <receiver
105 android:name="com.android.launcher3.SessionCommitReceiver" >
106 <intent-filter>
107 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
108 </intent-filter>
109 </receiver>
110
Sunny Goyald83a67a2016-05-23 21:40:53 -0700111 <!-- Intent received used to initialize a restored widget -->
112 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
113 <intent-filter>
114 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
115 </intent-filter>
116 </receiver>
117
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700118 <service
Sunny Goyal18c699f2018-05-03 16:58:41 -0700119 android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700120 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -0700121 android:process=":wallpaper_chooser"
122 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -0700123
Sunny Goyalc466b172018-03-01 16:10:19 -0800124 <service
125 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800126 android:label="@string/notification_dots_service_title"
127 android:enabled="@bool/notification_dots_enabled"
Sunny Goyalc466b172018-03-01 16:10:19 -0800128 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800129 <intent-filter>
130 <action android:name="android.service.notification.NotificationListenerService" />
131 </intent-filter>
132 </service>
133
Sunny Goyald83a67a2016-05-23 21:40:53 -0700134 <meta-data android:name="android.nfc.disable_beam_default"
135 android:value="true" />
136
Sunny Goyal27835952017-01-13 12:15:53 -0800137 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Sunny Goyal367f2192018-10-17 11:24:48 -0700138 android:theme="@style/AppItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800139 android:excludeFromRecents="true"
140 android:autoRemoveFromRecents="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800141 android:label="@string/action_add_to_workspace" >
142 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800143 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
144 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800145 </intent-filter>
146 </activity>
147
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700148 <!--
149 Should point to the content provider which can be used to dump Launcher3 compatible
150 worspace configuration to the dump's file descriptor by using launcher_dump.proto
151 -->
152 <meta-data
153 android:name="com.android.launcher3.launcher_dump_provider"
154 android:value="com.android.launcher3.LauncherProvider" />
155
Sunny Goyal7f920b82018-06-27 15:47:49 -0700156 <!--
157 The settings provider contains Home's data, like the workspace favorites. The permissions
158 should be changed to what is defined above. The authorities should also be changed to
159 represent the package name.
160 -->
161 <provider
162 android:name="com.android.launcher3.LauncherProvider"
163 android:authorities="${packageName}.settings"
164 android:exported="true"
165 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
166 android:readPermission="${packageName}.permission.READ_SETTINGS" />
167
168 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800169 The content provider for exposing various launcher grid options.
170 TODO: Add proper permissions
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700171 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800172 <provider
173 android:name="com.android.launcher3.graphics.GridOptionsProvider"
174 android:authorities="${packageName}.grid_control"
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700175 android:enabled="false"
Sunny Goyaleff44f32019-01-09 17:29:49 -0800176 android:exported="true" />
177
178 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700179 The settings activity. To extend point settings_fragment_name to appropriate fragment class
180 -->
181 <activity
Amir Zaidif4985b02020-01-11 13:55:58 +0100182 android:name="com.aosp.launcher.AospSettings"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700183 android:label="@string/settings_button_text"
Samuel Fufa9fee0452019-11-12 16:49:21 -0800184 android:theme="@style/HomeSettingsTheme"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700185 android:autoRemoveFromRecents="true">
186 <intent-filter>
187 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
188 <category android:name="android.intent.category.DEFAULT" />
189 </intent-filter>
190 </activity>
191
Sunny Goyalab3963d2019-05-23 00:50:08 -0700192 <provider
193 android:name="com.android.launcher3.testing.TestInformationProvider"
194 android:authorities="${packageName}.TestInfo"
195 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
196 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
197 android:exported="true"
198 android:enabled="false" />
Chris Crump6293f372019-12-25 02:00:14 -0500199
200 <provider
201 android:name="com.aosp.launcher.search.AppSearchProvider"
202 android:authorities="com.aosp.launcher.appssearch"
203 android:exported="true" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700204 </application>
205</manifest>