blob: c581415337af6da1a4122b5cc43154baeb4a847b [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"
Alan Viverettea88802e2021-08-25 22:06:47 +000022 xmlns:tools="http://schemas.android.com/tools"
Sunny Goyald83a67a2016-05-23 21:40:53 -070023 package="com.android.launcher3">
Sunny Goyald83a67a2016-05-23 21:40:53 -070024
25 <!--
26 The manifest defines the common entries that should be present in any derivative of Launcher3.
27 The components should generally not require any changes.
28
29 Rest of the components are defined in AndroidManifest.xml which is merged with this manifest
30 at compile time. Note that the components defined in AndroidManifest.xml are also required,
31 with some minor changed based on the derivative app.
32 -->
Sunny Goyald83a67a2016-05-23 21:40:53 -070033
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 Miranda94fe9fa2017-09-05 13:38:07 -070040 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
Hyunyoung Song2dac6f82019-08-16 10:16:39 -070041 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Patrick Baumannca169112020-02-14 10:32:39 -080042 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Hongwei Wangf4b60d52020-11-17 15:57:38 -080043 <!-- for rotating surface by arbitrary degree -->
44 <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" />
Vinit Nayakb9ec9312020-03-04 12:05:28 -080045
Sunny Goyal7f920b82018-06-27 15:47:49 -070046 <!--
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"
Sunny Goyal7f920b82018-06-27 15:47:49 -070053 android:protectionLevel="signatureOrSystem"
54 android:label="@string/permlab_read_settings"
55 android:description="@string/permdesc_read_settings"/>
56 <permission
57 android:name="${packageName}.permission.WRITE_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070058 android:protectionLevel="signatureOrSystem"
59 android:label="@string/permlab_write_settings"
60 android:description="@string/permdesc_write_settings"/>
61
62 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
63 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
64
Sunny Goyald83a67a2016-05-23 21:40:53 -070065 <application
66 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
67 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070068 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -070069 android:fullBackupContent="@xml/backupscheme"
70 android:hardwareAccelerated="true"
Hyunyoung Song837eb1f2017-03-03 11:14:05 -080071 android:icon="@drawable/ic_launcher_home"
Sunny Goyal112ce422016-08-22 16:45:29 -070072 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070073 android:largeHeap="@bool/config_largeHeap"
74 android:restoreAnyVersion="true"
75 android:supportsRtl="true" >
76
Sunny Goyal4179e9b2017-03-08 14:25:09 -080077 <!-- Intent received when a session is committed -->
78 <receiver
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070079 android:name="com.android.launcher3.SessionCommitReceiver"
80 android:exported="true">
Sunny Goyal4179e9b2017-03-08 14:25:09 -080081 <intent-filter>
82 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
83 </intent-filter>
84 </receiver>
85
Sunny Goyald83a67a2016-05-23 21:40:53 -070086 <!-- Intent received used to initialize a restored widget -->
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070087 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver"
88 android:exported="true">
Sunny Goyald83a67a2016-05-23 21:40:53 -070089 <intent-filter>
90 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
91 </intent-filter>
92 </receiver>
93
Sunny Goyal3e93ec52017-05-23 14:00:32 -070094 <service
Sunny Goyalc466b172018-03-01 16:10:19 -080095 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -080096 android:label="@string/notification_dots_service_title"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070097 android:exported="true"
Sunny Goyalc466b172018-03-01 16:10:19 -080098 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -080099 <intent-filter>
100 <action android:name="android.service.notification.NotificationListenerService" />
101 </intent-filter>
102 </service>
103
Sunny Goyald83a67a2016-05-23 21:40:53 -0700104 <meta-data android:name="android.nfc.disable_beam_default"
105 android:value="true" />
106
Sunny Goyal27835952017-01-13 12:15:53 -0800107 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Alina Zaidid80cec62021-05-13 14:13:18 +0100108 android:theme="@style/AddItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800109 android:excludeFromRecents="true"
110 android:autoRemoveFromRecents="true"
Alina Zaidi6d97d892021-03-22 10:06:25 +0000111 android:exported="true">
Sunny Goyal27835952017-01-13 12:15:53 -0800112 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800113 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
114 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800115 </intent-filter>
116 </activity>
117
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700118 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700119 The settings provider contains Home's data, like the workspace favorites. The permissions
120 should be changed to what is defined above. The authorities should also be changed to
121 represent the package name.
122 -->
123 <provider
124 android:name="com.android.launcher3.LauncherProvider"
125 android:authorities="${packageName}.settings"
126 android:exported="true"
127 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
128 android:readPermission="${packageName}.permission.READ_SETTINGS" />
129
130 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800131 The content provider for exposing various launcher grid options.
132 TODO: Add proper permissions
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700133 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800134 <provider
Tracy Zhou0455d142021-01-27 14:05:01 -0800135 android:name="com.android.launcher3.graphics.GridCustomizationsProvider"
Sunny Goyaleff44f32019-01-09 17:29:49 -0800136 android:authorities="${packageName}.grid_control"
137 android:exported="true" />
138
139 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700140 The settings activity. To extend point settings_fragment_name to appropriate fragment class
141 -->
142 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700143 android:name="com.android.launcher3.settings.SettingsActivity"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700144 android:label="@string/settings_button_text"
Brian Isganitis93031bc2021-06-09 16:34:45 -0400145 android:theme="@style/HomeSettings.Theme"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700146 android:exported="true"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700147 android:autoRemoveFromRecents="true">
148 <intent-filter>
149 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
150 <category android:name="android.intent.category.DEFAULT" />
151 </intent-filter>
152 </activity>
153
Sunny Goyalab3963d2019-05-23 00:50:08 -0700154 <provider
155 android:name="com.android.launcher3.testing.TestInformationProvider"
156 android:authorities="${packageName}.TestInfo"
157 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
158 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
159 android:exported="true"
160 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800161
162 <!--
163 Launcher activity for secondary display
164 -->
165 <activity
166 android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher"
167 android:theme="@style/AppTheme"
168 android:launchMode="singleTop"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700169 android:exported="true"
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800170 android:enabled="true">
171 <intent-filter>
172 <action android:name="android.intent.action.MAIN" />
173 <category android:name="android.intent.category.SECONDARY_HOME" />
174 <category android:name="android.intent.category.DEFAULT" />
175 </intent-filter>
176 </activity>
Alan Viverettea88802e2021-08-25 22:06:47 +0000177
178 <!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
179 <provider
180 android:name="androidx.startup.InitializationProvider"
181 android:authorities="${applicationId}.androidx-startup"
182 tools:node="remove" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700183 </application>
184</manifest>