blob: b0485209e731f7ec800e9055bcfc2b504b7c5667 [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" />
Brandon Dayauon12c193e2022-10-31 14:28:38 -070043 <uses-permission android:name="android.permission.VIBRATE"/>
Hongwei Wangf4b60d52020-11-17 15:57:38 -080044 <!-- for rotating surface by arbitrary degree -->
45 <uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" />
Vishnu Nair7b3eb352022-12-01 17:21:15 -080046 <uses-permission android:name="android.permission.WAKEUP_SURFACE_FLINGER" />
Steve Elliott43c2c6c2021-12-03 16:32:19 -050047 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
Joey922c4aa2019-01-23 17:49:25 +010048 <uses-permission android:name="android.permission.USE_BIOMETRIC" />
Pinyao Ting0bae1f52022-10-31 10:51:31 -070049
Sunny Goyal7f920b82018-06-27 15:47:49 -070050 <!--
51 Permissions required for read/write access to the workspace data. These permission name
52 should not conflict with that defined in other apps, as such an app should embed its package
53 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
54 -->
55 <permission
56 android:name="${packageName}.permission.READ_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070057 android:protectionLevel="signatureOrSystem"
58 android:label="@string/permlab_read_settings"
59 android:description="@string/permdesc_read_settings"/>
60 <permission
61 android:name="${packageName}.permission.WRITE_SETTINGS"
Sunny Goyal7f920b82018-06-27 15:47:49 -070062 android:protectionLevel="signatureOrSystem"
63 android:label="@string/permlab_write_settings"
64 android:description="@string/permdesc_write_settings"/>
65
66 <uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
67 <uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
68
Sunny Goyald83a67a2016-05-23 21:40:53 -070069 <application
70 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
71 android:fullBackupOnly="true"
Sunny Goyal3bba1682016-08-19 13:13:03 -070072 android:backupInForeground="true"
Sunny Goyald83a67a2016-05-23 21:40:53 -070073 android:fullBackupContent="@xml/backupscheme"
74 android:hardwareAccelerated="true"
Asher Simonds996063f2018-02-12 10:47:16 +010075 android:icon="@mipmap/ic_launcher"
Sunny Goyal112ce422016-08-22 16:45:29 -070076 android:label="@string/derived_app_name"
Sunny Goyald83a67a2016-05-23 21:40:53 -070077 android:largeHeap="@bool/config_largeHeap"
78 android:restoreAnyVersion="true"
79 android:supportsRtl="true" >
80
Sunny Goyal4179e9b2017-03-08 14:25:09 -080081 <!-- Intent received when a session is committed -->
82 <receiver
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070083 android:name="com.android.launcher3.SessionCommitReceiver"
84 android:exported="true">
Sunny Goyal4179e9b2017-03-08 14:25:09 -080085 <intent-filter>
86 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
87 </intent-filter>
88 </receiver>
89
Sunny Goyald83a67a2016-05-23 21:40:53 -070090 <!-- Intent received used to initialize a restored widget -->
Ashwini Orugantiaa902e82020-06-04 17:47:09 -070091 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver"
92 android:exported="true">
Sunny Goyald83a67a2016-05-23 21:40:53 -070093 <intent-filter>
94 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
95 </intent-filter>
96 </receiver>
97
Sunny Goyal3e93ec52017-05-23 14:00:32 -070098 <service
Sunny Goyalc466b172018-03-01 16:10:19 -080099 android:name="com.android.launcher3.notification.NotificationListener"
Tony Wickhamf34bee82018-12-03 18:11:39 -0800100 android:label="@string/notification_dots_service_title"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700101 android:exported="true"
Sunny Goyalc466b172018-03-01 16:10:19 -0800102 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
Tony4d8019a2017-02-13 07:44:01 -0800103 <intent-filter>
104 <action android:name="android.service.notification.NotificationListenerService" />
105 </intent-filter>
106 </service>
107
Sunny Goyald83a67a2016-05-23 21:40:53 -0700108 <meta-data android:name="android.nfc.disable_beam_default"
109 android:value="true" />
110
Sunny Goyal27835952017-01-13 12:15:53 -0800111 <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
Alina Zaidid80cec62021-05-13 14:13:18 +0100112 android:theme="@style/AddItemActivityTheme"
Sunny Goyalb38fab72017-01-20 19:32:31 -0800113 android:excludeFromRecents="true"
114 android:autoRemoveFromRecents="true"
Alina Zaidi6d97d892021-03-22 10:06:25 +0000115 android:exported="true">
Sunny Goyal27835952017-01-13 12:15:53 -0800116 <intent-filter>
Sunny Goyal8b2002e2017-01-26 14:40:10 -0800117 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
118 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
Sunny Goyal27835952017-01-13 12:15:53 -0800119 </intent-filter>
120 </activity>
121
Hyunyoung Song37fa9b42017-05-04 15:21:20 -0700122 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700123 The settings provider contains Home's data, like the workspace favorites. The permissions
124 should be changed to what is defined above. The authorities should also be changed to
125 represent the package name.
126 -->
127 <provider
128 android:name="com.android.launcher3.LauncherProvider"
129 android:authorities="${packageName}.settings"
130 android:exported="true"
131 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
132 android:readPermission="${packageName}.permission.READ_SETTINGS" />
133
134 <!--
Sunny Goyaleff44f32019-01-09 17:29:49 -0800135 The content provider for exposing various launcher grid options.
Hyunyoung Song58de5de2019-05-15 14:01:30 -0700136 -->
Sunny Goyaleff44f32019-01-09 17:29:49 -0800137 <provider
Tracy Zhou0455d142021-01-27 14:05:01 -0800138 android:name="com.android.launcher3.graphics.GridCustomizationsProvider"
Sunny Goyaleff44f32019-01-09 17:29:49 -0800139 android:authorities="${packageName}.grid_control"
Luca Stefanied5c6d92019-11-01 23:17:59 +0100140 android:exported="true"
141 android:writePermission="${packageName}.permission.WRITE_SETTINGS"
142 android:readPermission="${packageName}.permission.READ_SETTINGS" />
Sunny Goyaleff44f32019-01-09 17:29:49 -0800143
144 <!--
Sunny Goyal7f920b82018-06-27 15:47:49 -0700145 The settings activity. To extend point settings_fragment_name to appropriate fragment class
146 -->
147 <activity
Sunny Goyalb2498b22018-10-16 16:36:02 -0700148 android:name="com.android.launcher3.settings.SettingsActivity"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700149 android:label="@string/settings_button_text"
Brian Isganitis93031bc2021-06-09 16:34:45 -0400150 android:theme="@style/HomeSettings.Theme"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700151 android:exported="true"
Sunny Goyal7f920b82018-06-27 15:47:49 -0700152 android:autoRemoveFromRecents="true">
153 <intent-filter>
154 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
155 <category android:name="android.intent.category.DEFAULT" />
156 </intent-filter>
157 </activity>
158
Sunny Goyalab3963d2019-05-23 00:50:08 -0700159 <provider
160 android:name="com.android.launcher3.testing.TestInformationProvider"
161 android:authorities="${packageName}.TestInfo"
162 android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
163 android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
164 android:exported="true"
165 android:enabled="false" />
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800166
167 <!--
168 Launcher activity for secondary display
169 -->
170 <activity
171 android:name="com.android.launcher3.secondarydisplay.SecondaryDisplayLauncher"
172 android:theme="@style/AppTheme"
173 android:launchMode="singleTop"
Ashwini Orugantiaa902e82020-06-04 17:47:09 -0700174 android:exported="true"
Sunny Goyal9c2b9602020-01-07 13:07:55 -0800175 android:enabled="true">
176 <intent-filter>
177 <action android:name="android.intent.action.MAIN" />
178 <category android:name="android.intent.category.SECONDARY_HOME" />
179 <category android:name="android.intent.category.DEFAULT" />
180 </intent-filter>
181 </activity>
Alan Viverettea88802e2021-08-25 22:06:47 +0000182
183 <!-- [b/197780098] Disable eager initialization of Jetpack libraries. -->
184 <provider
185 android:name="androidx.startup.InitializationProvider"
186 android:authorities="${applicationId}.androidx-startup"
187 tools:node="remove" />
Joey922c4aa2019-01-23 17:49:25 +0100188
189 <activity
190 android:name="com.android.launcher3.lineage.trust.TrustAppsActivity"
191 android:label="@string/trust_apps_manager_name"
192 android:theme="@android:style/Theme.DeviceDefault.Settings"
193 android:autoRemoveFromRecents="true" />
Sunny Goyald83a67a2016-05-23 21:40:53 -0700194 </application>
195</manifest>