blob: 97e3786a369dc7208e6e6ef55c2c9b1c160e099f [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 -->
Sunny Goyald83a67a2016-05-23 21:40:53 -070032
33 <uses-permission android:name="android.permission.CALL_PHONE" />
34 <uses-permission android:name="android.permission.SET_WALLPAPER" />
35 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
36 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
37 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
38 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jon Miranda94fe9fa2017-09-05 13:38:07 -070039 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070040 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Patrick Baumannca169112020-02-14 10:32:39 -080041 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Vinit Nayakb9ec9312020-03-04 12:05:28 -080042
Sunny Goyal7f920b82018-06-27 15:47:49 -070043 <!--
44 Permissions required for read/write access to the workspace data. These permission name
45 should not conflict with that defined in other apps, as such an app should embed its package
46 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
47 -->
48 <permission
49 android:name="${packageName}.permission.READ_SETTINGS"
50 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
51 android:protectionLevel="signatureOrSystem"
52 android:label="@string/permlab_read_settings"
53 android:description="@string/permdesc_read_settings"/>
54 <permission
55 android:name="${packageName}.permission.WRITE_SETTINGS"
56 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
57 android:protectionLevel="signatureOrSystem"
58 android:label="@string/permlab_write_settings"
59 android:description="@string/permdesc_write_settings"/>
60
61 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
62 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
63
Sunny Goyald83a67a2016-05-23 21:40:53 -070064 <application
65 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
66 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070067 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -070068 android:fullBackupContent="@xml/backupscheme"
69 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080070 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070071 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070072 android:largeHeap="@bool/config_largeHeap"
73 android:restoreAnyVersion="true"
74 android:supportsRtl="true" >
75
Sunny Goyal4179e9b2017-03-08 14:25:09 -080076 <!-- Intent received when a session is committed -->
77 <receiver
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070078 android:name="com.android.launcher3.SessionCommitReceiver"
79 android:exported="true">
Sunny Goyal4179e9b2017-03-08 14:25:09 -080080 <intent-filter>
81 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
82 </intent-filter>
83 </receiver>
84
Sunny Goyald83a67a2016-05-23 21:40:53 -070085 <!-- Intent received used to initialize a restored widget -->
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070086 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver"
87 android:exported="true">
Sunny Goyald83a67a2016-05-23 21:40:53 -070088 <intent-filter>
89 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
90 </intent-filter>
91 </receiver>
92
Sunny Goyal3e93ec52017-05-23 14:00:32 -070093 <service
Sunny Goyal18c699f2018-05-03 16:58:41 -070094 android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
Sunny Goyal3e93ec52017-05-23 14:00:32 -070095 android:exported="false"
Sunny Goyal82315962017-06-08 14:27:49 -070096 android:process=":wallpaper_chooser"
97 android:permission="android.permission.BIND_JOB_SERVICE" />
Sunny Goyal3e93ec52017-05-23 14:00:32 -070098
Sunny Goyalc466b172018-03-01 16:10:19 -080099 <service
100 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800101 android:label="@string/notification_dots_service_title"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700102 android:exported="true"
Sunny Goyalc466b172018-03-01 16:10:19 -0800103 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800104 <intent-filter>
105 <action android:name="android.service.notification.NotificationListenerService" />
106 </intent-filter>
107 </service>
108
Sunny Goyald83a67a2016-05-23 21:40:53 -0700109 <meta-data android:name="android.nfc.disable_beam_default"
110 android:value="true" />
111
Sunny Goyal27835952017-01-13 12:15:53 -0800112 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Sunny Goyal367f2192018-10-17 11:24:48 -0700113 android:theme="@style/AppItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800114 android:excludeFromRecents="true"
115 android:autoRemoveFromRecents="true"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700116 android:exported="true"
Sunny Goyal27835952017-01-13 12:15:53 -0800117 android:label="@string/action_add_to_workspace" >
118 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800119 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
120 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800121 </intent-filter>
122 </activity>
123
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700124 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700125 The settings provider contains Home's data, like the workspace favorites. The permissions
126 should be changed to what is defined above. The authorities should also be changed to
127 represent the package name.
128 -->
129 <provider
130 android:name="com.android.launcher3.LauncherProvider"
131 android:authorities="${packageName}.settings"
132 android:exported="true"
133 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
134 android:readPermission="${packageName}.permission.READ_SETTINGS" />
135
136 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800137 The content provider for exposing various launcher grid options.
138 TODO: Add proper permissions
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700139 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800140 <provider
141 android:name="com.android.launcher3.graphics.GridOptionsProvider"
142 android:authorities="${packageName}.grid_control"
143 android:exported="true" />
144
145 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700146 The settings activity. To extend point settings_fragment_name to appropriate fragment class
147 -->
148 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700149 android:name="com.android.launcher3.settings.SettingsActivity"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700150 android:label="@string/settings_button_text"
Samuel Fufa9fee0452019-11-12 16:49:21 -0800151 android:theme="@style/HomeSettingsTheme"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700152 android:exported="true"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700153 android:autoRemoveFromRecents="true">
154 <intent-filter>
155 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
156 <category android:name="android.intent.category.DEFAULT" />
157 </intent-filter>
158 </activity>
159
Sunny Goyalab3963d2019-05-23 00:50:08 -0700160 <provider
161 android:name="com.android.launcher3.testing.TestInformationProvider"
162 android:authorities="${packageName}.TestInfo"
163 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
164 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
165 android:exported="true"
166 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800167
168 <!--
169 Launcher activity for secondary display
170 -->
171 <activity
172 android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher"
173 android:theme="@style/AppTheme"
174 android:launchMode="singleTop"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700175 android:exported="true"
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800176 android:enabled="true">
177 <intent-filter>
178 <action android:name="android.intent.action.MAIN" />
179 <category android:name="android.intent.category.SECONDARY_HOME" />
180 <category android:name="android.intent.category.DEFAULT" />
181 </intent-filter>
182 </activity>
Sunny Goyald83a67a2016-05-23 21:40:53 -0700183 </application>
184</manifest>