blob: 9d6fc9ed85c26ce158802214ed9460a36a01bf4e [file] [log] [blame]
Alan Viverettee3c38a02014-04-02 15:39:13 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (c) 2014 Google Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
Joe Onorato2314aab2010-04-08 16:41:23 -050019<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Dianne Hackbornd4ac8d72012-09-27 23:20:10 -070020 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Joe Onorato79de0c52010-05-26 17:03:26 -040021 package="com.android.systemui"
Jim Miller5ecd8112013-01-09 18:50:26 -080022 android:sharedUserId="android.uid.systemui"
Jeff Sharkey35be7562012-04-18 19:16:15 -070023 coreApp="true">
24
Ahan Wu67e7f102019-01-14 20:38:14 +080025 <!-- Using OpenGL ES 2.0 -->
26 <uses-feature
27 android:glEsVersion="0x00020000"
28 android:required="true" />
29
Christopher Tatebb9cce52017-04-18 14:19:43 -070030 <!-- SysUI must be the one to define this permission; its name is
31 referenced by the core OS. -->
32 <permission android:name="android.permission.systemui.IDENTITY"
33 android:protectionLevel="signature" />
Jason Monkd2e75262017-03-07 09:29:05 -050034
Jeff Sharkey35be7562012-04-18 19:16:15 -070035 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jeff Sharkey81d94332012-04-23 13:32:00 -070036 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
37 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Jeff Sharkey32e80d72015-07-06 09:45:55 -070038 <!-- Used to read storage for all users -->
39 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Jeff Sharkey098d5802012-04-26 17:30:34 -070040 <uses-permission android:name="android.permission.WAKE_LOCK" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070041
42 <uses-permission android:name="android.permission.INJECT_EVENTS" />
Jeff Sharkeya2c73ae2013-02-19 13:01:35 -080043 <uses-permission android:name="android.permission.DUMP" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070044 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Stanislav Zholnin0ec928d2019-03-05 16:28:58 +000045 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Joe Onorato2314aab2010-04-08 16:41:23 -050046
Joe Onorato8bc6c512010-06-04 16:21:12 -040047 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070048 <uses-permission android:name="android.permission.STATUS_BAR" />
49 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Jeff Sharkey098d5802012-04-26 17:30:34 -070050 <uses-permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070051
Amith Yamasani2a003292012-08-14 18:25:45 -070052 <uses-permission android:name="android.permission.MANAGE_USERS" />
Winson Chungd63c59782012-09-05 17:34:41 -070053 <uses-permission android:name="android.permission.READ_PROFILE" />
54 <uses-permission android:name="android.permission.READ_CONTACTS" />
Jeff Brown508257b2012-09-08 23:15:12 -070055 <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
Winson Chung08b1cc82012-09-11 10:00:53 -070056 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
David Christiec750c1f2013-08-08 12:56:57 -070057 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
Jeff Sharkey4a539442018-01-05 17:09:52 -070058 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Daniel Sandlerb9301c32012-08-14 15:08:24 -040059
Jeff Sharkey35be7562012-04-18 19:16:15 -070060 <!-- Networking and telephony -->
Daniel Sandlerd39e3882010-08-31 14:16:13 -040061 <uses-permission android:name="android.permission.BLUETOOTH" />
62 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Jason Monkbe3c5db2015-02-04 13:00:55 -050063 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
Fyodor Kupolova8610172015-07-23 12:47:06 -070064 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Jeff Sharkey35be7562012-04-18 19:16:15 -070065 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Jason Monkd7bd9d62014-09-23 09:25:29 -040066 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Robert Greenwalt0f1ed302015-07-08 16:34:33 -070067 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070068 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
69 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Lorenzo Colittie14627e42015-04-06 17:28:56 +090070 <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
Jeff Sharkeye6b65332012-04-30 17:14:51 -070071 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
John Spurlock6627ff62014-05-23 12:59:27 -040072 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Rebecca Silbersteina2158742017-05-08 11:11:50 -070073 <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
Jeremy Kleind42209d2015-12-28 15:11:58 -080074 <uses-permission android:name="android.permission.TETHER_PRIVILEGED" />
John Spurlockb98f7472014-07-08 17:09:42 -040075 <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" />
Sundeep Ghuman5519b7b2016-12-14 17:53:31 -080076 <uses-permission android:name="android.permission.REQUEST_NETWORK_SCORES" />
Jeff Davidsonbc19c182014-11-11 13:20:01 -080077 <uses-permission android:name="android.permission.CONTROL_VPN" />
Fyodor Kupolov136a2e7f2015-07-27 12:20:18 -070078 <uses-permission android:name="android.permission.PEERS_MAC_ADDRESS"/>
Jeff Sharkey35be7562012-04-18 19:16:15 -070079 <!-- Physical hardware -->
Mike Lockwood3a68b832011-03-08 10:08:59 -050080 <uses-permission android:name="android.permission.MANAGE_USB" />
Michael Wrightd8460232018-01-16 18:04:59 +000081 <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070082 <uses-permission android:name="android.permission.DEVICE_POWER" />
83 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
Daniel Sandler0f5985c2012-05-01 15:42:56 -040084 <uses-permission android:name="android.permission.MASTER_CLEAR" />
Jim Miller64fffad2012-05-17 17:01:15 -070085 <uses-permission android:name="android.permission.VIBRATE" />
Chad Brubaker90f391f2018-10-19 10:26:19 -070086 <uses-permission android:name="android.permission.MANAGE_SENSOR_PRIVACY" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070087
88 <!-- ActivityManager -->
Dianne Hackborn2d7576b2014-10-03 16:26:04 -070089 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
Dianne Hackborn8238e712012-04-24 11:15:40 -070090 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070091 <uses-permission android:name="android.permission.REORDER_TASKS" />
92 <uses-permission android:name="android.permission.REMOVE_TASKS" />
93 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
94 <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" />
95 <uses-permission android:name="android.permission.START_ANY_ACTIVITY" />
Michal Karpinski7b97a022018-12-14 15:17:29 +000096 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
Adrian Roose9c7d432014-07-17 18:27:38 +020097 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Amith Yamasani82644082012-08-03 13:09:11 -070098 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Dianne Hackbornf9c5e0f2013-01-23 14:39:13 -080099 <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO" />
Winson Chung303e1ff2014-03-07 15:06:19 -0800100 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Alison Cichowlas3e340502018-08-07 17:15:01 -0400101 <uses-permission android:name="android.permission.START_ACTIVITY_AS_CALLER" />
Craig Mautnerdc00cbe2014-07-20 17:48:47 -0700102 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" />
Dianne Hackborne5ad41b2016-02-29 18:02:43 -0800103 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
Jim Millercaf24fc2013-09-10 18:37:01 -0700104
Jeff Sharkey35be7562012-04-18 19:16:15 -0700105 <!-- WindowManager -->
106 <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
Jeff Sharkeyaf772be2012-04-24 16:13:17 -0700107 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Jeff Sharkey35be7562012-04-18 19:16:15 -0700108 <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
109 <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
Filip Gruszczynski64cdc142015-11-29 21:10:07 -0800110 <uses-permission android:name="android.permission.REGISTER_WINDOW_MANAGER_LISTENERS" />
Jeff Sharkey35be7562012-04-18 19:16:15 -0700111 <uses-permission android:name="android.permission.SET_ORIENTATION" />
112 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Joe Onorato8bc6c512010-06-04 16:21:12 -0400113
John Spurlockf4f6b4c2012-08-25 12:08:03 -0400114 <!-- DreamManager -->
115 <uses-permission android:name="android.permission.READ_DREAM_STATE" />
116 <uses-permission android:name="android.permission.WRITE_DREAM_STATE" />
117
Satoshi Kataokac44f7a22013-05-22 08:54:56 +0900118 <!-- Alarm clocks -->
119 <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
120
Jim Millercaf24fc2013-09-10 18:37:01 -0700121 <!-- Keyguard -->
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -0800122 <uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
Jim Millercaf24fc2013-09-10 18:37:01 -0700123 <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
Jorim Jaggi5cf17872014-03-26 18:31:48 +0100124 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Ian Pedowitz358e51f2016-03-15 17:08:27 +0000125 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Jorim Jaggi5cf17872014-03-26 18:31:48 +0100126 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
127 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
128 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
129 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
130 <uses-permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE" />
Jorim Jaggie111c732014-03-31 22:50:13 +0200131 <uses-permission android:name="android.permission.TRUST_LISTENER" />
Kevin Chyna24e9fd2018-08-27 12:39:17 -0700132 <uses-permission android:name="android.permission.USE_BIOMETRIC_INTERNAL" />
Jim Millerba67aee2015-02-20 16:21:26 -0800133 <uses-permission android:name="android.permission.USE_FINGERPRINT" />
Jim Millere0507bb2015-08-12 20:30:34 -0700134 <uses-permission android:name="android.permission.RESET_FINGERPRINT_LOCKOUT" />
Kevin Chynca218202019-02-14 16:01:12 -0800135 <uses-permission android:name="android.permission.MANAGE_BIOMETRIC" />
Jason Monke8f8be72018-01-21 10:10:35 -0500136 <uses-permission android:name="android.permission.MANAGE_SLICE_PERMISSIONS" />
Zimuzob3b9c262018-10-31 11:54:20 +0000137 <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
Jim Millercaf24fc2013-09-10 18:37:01 -0700138
Samuel Asteberg8d516a82015-02-25 15:51:05 +0100139 <!-- Needed for WallpaperManager.clear in ImageWallpaper.updateWallpaperLocked -->
140 <uses-permission android:name="android.permission.SET_WALLPAPER"/>
141
Jeff Brownaf574182013-11-14 18:16:08 -0800142 <!-- Wifi Display -->
143 <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
144
Adrian Roosb83777b2014-06-30 15:11:53 +0200145 <uses-permission android:name="android.permission.CAMERA" />
146
Michael Wrightc39d47a2014-07-08 18:07:36 -0700147 <!-- Screen Capturing -->
Michael Wrightd86ecd22014-08-12 19:27:54 -0700148 <uses-permission android:name="android.permission.MANAGE_MEDIA_PROJECTION" />
Michael Wrightc39d47a2014-07-08 18:07:36 -0700149
Beth Thibodeau5898ac42018-10-26 13:00:09 -0400150 <!-- Screen Recording -->
151 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
152 <uses-permission android:name="android.permission.RECORD_AUDIO" />
153
Jorim Jaggi25e12ab2015-04-02 11:46:28 -0700154 <!-- Assist -->
155 <uses-permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE" />
156
Dianne Hackbornc3af19a2017-01-20 17:00:44 -0800157 <!-- Doze mode temp whitelisting for notification dispatching. -->
158 <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
159
Michael Wright9209c9c2015-09-03 17:57:01 +0100160 <!-- Listen for keyboard attachment / detachment -->
161 <uses-permission android:name="android.permission.TABLET_MODE" />
162
Amith Yamasanid81f8272015-07-23 17:15:45 -0700163 <!-- Self permission for internal broadcasts. -->
164 <permission android:name="com.android.systemui.permission.SELF"
165 android:protectionLevel="signature" />
166 <uses-permission android:name="com.android.systemui.permission.SELF" />
167
Jason Monk86bc3312016-08-16 13:17:56 -0400168 <permission android:name="com.android.systemui.permission.PLUGIN"
169 android:protectionLevel="signature" />
170
Mindy Pereiraa59301a2015-12-10 10:59:06 -0800171 <!-- Adding Quick Settings tiles -->
172 <uses-permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE" />
173
Julia Reynoldsbe8fdee2015-12-18 09:04:34 -0500174 <!-- Block notifications inline notifications -->
175 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
176
Jason Monkc06fbb12016-01-08 14:12:18 -0500177 <!-- Access battery information -->
178 <uses-permission android:name="android.permission.BATTERY_STATS" />
179
Sudheer Shanka9a2eb852016-01-15 17:20:55 +0000180 <!-- DevicePolicyManager get user restrictions -->
181 <uses-permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS" />
182
Youngsang Choad8ceb02016-01-15 16:59:27 -0800183 <!-- TV picture-in-picture -->
184 <uses-permission android:name="android.permission.RECEIVE_MEDIA_RESOURCE_USAGE" />
185
Julia Reynoldsa014e202016-03-22 13:03:32 -0700186 <!-- DND access -->
187 <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS" />
188
Dan Sandlerdc34df52016-04-07 21:04:46 -0400189 <!-- It's like, reality, but, you know, virtual -->
190 <uses-permission android:name="android.permission.ACCESS_VR_MANAGER" />
191
Dan Sandlerd52ea0c2016-04-14 10:16:28 -0400192 <!-- the ability to rename notifications posted by other apps -->
193 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
194
Makoto Onukid6e1f3b2016-06-14 11:17:59 -0700195 <!-- shortcut manager -->
196 <uses-permission android:name="android.permission.RESET_SHORTCUT_MANAGER_THROTTLING" />
197
Jason Monk97a06a12016-11-09 15:53:30 -0500198 <uses-permission android:name="android.permission.MODIFY_THEME_OVERLAY" />
199
Phil Weaverf00cd142017-03-03 13:44:00 -0800200 <!-- accessibility -->
201 <uses-permission android:name="android.permission.MODIFY_ACCESSIBILITY_DATA" />
202
Jean-Michel Triviab2d9312017-03-13 15:33:39 -0700203 <!-- to control accessibility volume -->
Phil Weaverf1a9aff2017-03-23 17:21:29 -0700204 <uses-permission android:name="android.permission.CHANGE_ACCESSIBILITY_VOLUME" />
Jean-Michel Triviab2d9312017-03-13 15:33:39 -0700205
Kang Li38a6da642017-04-05 12:30:55 -0700206 <!-- to access ResolverRankerServices -->
207 <uses-permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE" />
208
Todd Kennedye6393c92017-05-16 15:47:01 -0700209 <!-- to access instant apps -->
210 <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" />
211
Selim Cinek2627d722018-01-19 12:16:49 -0800212 <!-- to control remote app transitions -->
213 <uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
214
Lucas Dupin987f1932017-05-13 21:02:52 -0700215 <!-- to change themes - light or dark -->
216 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
217
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800218 <!-- Listen app op changes -->
219 <uses-permission android:name="android.permission.WATCH_APPOPS" />
220
Brad Stenning38b46f82018-03-27 13:57:29 -0700221 <!-- to read and change hvac values in a car -->
Kaia45c7a62018-04-10 14:15:17 -0700222 <uses-permission android:name="android.car.permission.CONTROL_CAR_CLIMATE" />
Brad Stenning38b46f82018-03-27 13:57:29 -0700223
jovanakedba98c2018-09-14 15:46:24 -0700224 <!-- to be able to detect the driving state in a car-->
225 <uses-permission android:name="android.car.permission.CAR_DRIVING_STATE" />
226
Lin Guod7468d42018-05-02 14:25:10 -0700227 <!-- Permission necessary to change car audio volume through CarAudioManager -->
228 <uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" />
229
Kenny Roota5964c02018-01-23 20:08:39 +0900230 <!-- Permission to control Android Debug Bridge (ADB) -->
231 <uses-permission android:name="android.permission.MANAGE_DEBUGGING" />
232
Jason Monkb14dde072018-05-25 15:13:16 -0400233 <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
234
Christine Franks39b03112018-07-03 14:46:07 -0700235 <!-- Permission to change the display color -->
236 <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" />
237
Jason Monk636741f2018-05-31 10:32:57 -0400238 <protected-broadcast android:name="com.android.settingslib.action.REGISTER_SLICE_RECEIVER" />
239 <protected-broadcast android:name="com.android.settingslib.action.UNREGISTER_SLICE_RECEIVER" />
Lucas Dupin7c6ca762018-09-13 11:54:30 -0700240 <protected-broadcast android:name="com.android.settings.flashlight.action.FLASHLIGHT_CHANGED" />
Jason Monk636741f2018-05-31 10:32:57 -0400241
Joe Onorato2314aab2010-04-08 16:41:23 -0500242 <application
Jorim Jaggicff0acb2014-03-31 16:35:15 +0200243 android:name=".SystemUIApplication"
Dianne Hackborn26755a32010-07-30 17:24:38 -0700244 android:persistent="true"
Joe Onorato2314aab2010-04-08 16:41:23 -0500245 android:allowClearUserData="false"
Christopher Tate2efd2db2011-07-19 16:32:49 -0700246 android:allowBackup="false"
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -0500247 android:hardwareAccelerated="true"
Joe Onorato2314aab2010-04-08 16:41:23 -0500248 android:label="@string/app_label"
Dan Sandler2200f862014-10-06 01:04:47 -0400249 android:icon="@drawable/icon"
Jim Miller5ecd8112013-01-09 18:50:26 -0800250 android:process="com.android.systemui"
Adrian Roos070a0b62014-04-10 23:25:03 +0200251 android:supportsRtl="true"
Lucas Dupine17ce522017-07-17 15:45:06 -0700252 android:theme="@style/Theme.SystemUI"
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600253 android:defaultToDeviceProtectedStorage="true"
Jeff Gastonc2100af2018-04-04 01:54:52 -0400254 android:directBootAware="true"
Aurimas Liutikasfd52c142018-04-17 09:50:46 -0700255 android:appComponentFactory="androidx.core.app.CoreComponentFactory">
Adrian Roos070a0b62014-04-10 23:25:03 +0200256 <!-- Keep theme in sync with SystemUIApplication.onCreate().
257 Setting the theme on the application does not affect views inflated by services.
258 The application theme is set again from onCreate to take effect for those views. -->
Joe Onorato808182d2010-07-09 18:52:06 -0400259
Joe Onoratof3c3c4f2010-10-21 11:09:02 -0400260 <!-- Broadcast receiver that gets the broadcast at boot time and starts
261 up everything else.
262 TODO: Should have an android:permission attribute
263 -->
264 <service android:name="SystemUIService"
265 android:exported="true"
Lucas Dupin957e50c2017-10-10 11:23:27 -0700266 />
Joe Onoratofe4f3ae2010-06-04 11:25:26 -0700267
Winson Chung2dbcf092018-10-24 13:00:41 -0700268 <!-- On user switch, this service is started to ensure that the associated SystemUI
269 process for the current user is started. See the resource
270 "config_systemUIServiceComponentsPerUser".
Winson3c2c34b2016-04-04 17:47:41 -0700271 -->
272 <service android:name="SystemUISecondaryUserService"
Winson Chung2dbcf092018-10-24 13:00:41 -0700273 android:exported="false"
Winson3c2c34b2016-04-04 17:47:41 -0700274 android:permission="com.android.systemui.permission.SELF" />
275
Winson Chung9112ec32011-06-27 13:15:32 -0700276 <!-- started from PhoneWindowManager
277 TODO: Should have an android:permission attribute -->
278 <service android:name=".screenshot.TakeScreenshotService"
Dianne Hackbornfc8fa632011-08-17 16:20:47 -0700279 android:process=":screenshot"
Winson Chung9112ec32011-06-27 13:15:32 -0700280 android:exported="false" />
281
Winson44dbe292016-03-10 14:00:14 -0800282 <!-- Called from PhoneWindowManager -->
283 <receiver android:name=".screenshot.ScreenshotServiceErrorReceiver"
284 android:process=":screenshot"
285 android:exported="false">
286 <intent-filter>
287 <action android:name="com.android.systemui.screenshot.SHOW_ERROR" />
288 </intent-filter>
289 </receiver>
290
Beth Thibodeau5898ac42018-10-26 13:00:09 -0400291 <activity android:name=".screenrecord.ScreenRecordDialog"
292 android:theme="@style/ScreenRecord" />
293 <service android:name=".screenrecord.RecordingService" />
294
Jason Monk59d86ed2017-01-04 15:13:11 -0500295 <receiver android:name=".SysuiRestartReceiver"
296 android:exported="false">
297 <intent-filter>
298 <action android:name="com.android.systemui.action.RESTART" />
299
300 <data android:scheme="package" />
301 </intent-filter>
302 </receiver>
303
Dianne Hackbornba398392011-08-01 16:11:57 -0700304 <service android:name=".ImageWallpaper"
305 android:permission="android.permission.BIND_WALLPAPER"
306 android:exported="true" />
307
Jason Monk295a3372015-05-11 16:57:15 -0400308 <activity android:name=".tuner.TunerActivity"
309 android:enabled="false"
Dan Sandler696f6a32015-05-15 15:08:34 -0400310 android:icon="@drawable/tuner"
Jason Monk87ccd552015-12-11 21:39:54 -0500311 android:theme="@style/TunerSettings"
Jason Monk295a3372015-05-11 16:57:15 -0400312 android:label="@string/system_ui_tuner"
Dan Sandler696f6a32015-05-15 15:08:34 -0400313 android:process=":tuner"
Jason Monk295a3372015-05-11 16:57:15 -0400314 android:exported="true">
315 <intent-filter>
316 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
317 <category android:name="android.intent.category.DEFAULT" />
318 </intent-filter>
319 <meta-data android:name="com.android.settings.category"
Fan Zhang1137f872017-07-07 15:55:27 -0700320 android:value="com.android.settings.category.ia.system" />
Fan Zhang96028312017-10-09 13:50:55 -0700321 <meta-data android:name="com.android.settings.summary"
322 android:resource="@string/summary_empty"/>
Jason Monk295a3372015-05-11 16:57:15 -0400323 </activity>
324
Jason Monk98d7c7a2016-04-12 13:08:31 -0400325 <activity-alias android:name=".DemoMode"
326 android:targetActivity=".tuner.TunerActivity"
327 android:icon="@drawable/tuner"
328 android:theme="@style/TunerSettings"
329 android:label="@string/demo_mode"
330 android:process=":tuner"
331 android:exported="true">
332 <intent-filter>
333 <action android:name="com.android.settings.action.DEMO_MODE" />
334 <category android:name="android.intent.category.DEFAULT" />
335 </intent-filter>
336 </activity-alias>
337
Jorim Jaggi2adba072016-03-03 13:43:39 +0100338 <activity
339 android:name=".stackdivider.ForcedResizableInfoActivity"
340 android:theme="@style/ForcedResizableTheme"
341 android:excludeFromRecents="true"
342 android:stateNotNeeded="true"
Wale Ogunwale3840c882016-05-07 14:13:52 -0700343 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
Jorim Jaggi2adba072016-03-03 13:43:39 +0100344 android:exported="false">
345 </activity>
346
Winson Chung06ca2742018-06-29 12:26:49 -0700347 <!-- Springboard for launching the share and edit activity. This needs to be in the main
348 system ui process since we need to notify the status bar to dismiss the keyguard -->
349 <receiver android:name=".screenshot.GlobalScreenshot$ActionProxyReceiver"
Winson Chunged376a32017-09-07 14:05:42 -0700350 android:exported="false" />
351
Adam Powelld4d34152015-04-17 12:13:40 -0700352 <!-- Callback for dismissing screenshot notification after a share target is picked -->
353 <receiver android:name=".screenshot.GlobalScreenshot$TargetChosenReceiver"
Winson Chunged376a32017-09-07 14:05:42 -0700354 android:exported="false" />
Winson Chung8858e6e2015-05-27 17:18:56 -0700355
356 <!-- Callback for deleting screenshot notification -->
357 <receiver android:name=".screenshot.GlobalScreenshot$DeleteScreenshotReceiver"
Winson Chunged376a32017-09-07 14:05:42 -0700358 android:exported="false" />
Adam Powelld4d34152015-04-17 12:13:40 -0700359
Mike Lockwood3a68b832011-03-08 10:08:59 -0500360 <!-- started from UsbDeviceSettingsManager -->
Mike Lockwoodbce6f8f2011-03-13 17:26:52 -0400361 <activity android:name=".usb.UsbConfirmActivity"
362 android:exported="true"
363 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700364 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwoodbce6f8f2011-03-13 17:26:52 -0400365 android:finishOnCloseSystemDialogs="true"
366 android:excludeFromRecents="true">
367 </activity>
368
369 <!-- started from UsbDeviceSettingsManager -->
Mike Lockwood3a68b832011-03-08 10:08:59 -0500370 <activity android:name=".usb.UsbPermissionActivity"
371 android:exported="true"
372 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700373 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwood3a68b832011-03-08 10:08:59 -0500374 android:finishOnCloseSystemDialogs="true"
375 android:excludeFromRecents="true">
376 </activity>
377
378 <!-- started from UsbDeviceSettingsManager -->
379 <activity android:name=".usb.UsbResolverActivity"
380 android:exported="true"
381 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700382 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwood3a68b832011-03-08 10:08:59 -0500383 android:finishOnCloseSystemDialogs="true"
384 android:excludeFromRecents="true">
385 </activity>
Mike Lockwood024b4f12011-03-10 12:12:31 -0500386
387 <!-- started from UsbDeviceSettingsManager -->
388 <activity android:name=".usb.UsbAccessoryUriActivity"
389 android:exported="true"
390 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700391 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwood024b4f12011-03-10 12:12:31 -0500392 android:finishOnCloseSystemDialogs="true"
393 android:excludeFromRecents="true">
394 </activity>
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700395
Badhri Jagan Sridharan392b7472019-01-08 20:39:06 -0800396 <!-- started from UsbPortManager -->
397 <activity android:name=".usb.UsbContaminantActivity"
398 android:exported="true"
399 android:permission="android.permission.MANAGE_USB"
400 android:theme="@style/Theme.SystemUI.Dialog.Alert"
401 android:finishOnCloseSystemDialogs="true"
402 android:excludeFromRecents="true">
403 </activity>
404
Kenny Root7c4e6612018-01-16 11:19:47 -0800405 <!-- started from AdbDebuggingManager -->
Benoit Goby4e68bd42012-04-25 18:06:00 -0700406 <activity android:name=".usb.UsbDebuggingActivity"
Kenny Roota5964c02018-01-23 20:08:39 +0900407 android:permission="android.permission.MANAGE_DEBUGGING"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700408 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Benoit Goby4e68bd42012-04-25 18:06:00 -0700409 android:finishOnCloseSystemDialogs="true"
410 android:excludeFromRecents="true">
411 </activity>
Beverly796282a2018-02-02 11:40:54 -0500412 <activity-alias
413 android:name=".UsbDebuggingActivityAlias"
414 android:permission="android.permission.DUMP"
415 android:targetActivity=".usb.UsbDebuggingActivity"
416 android:exported="true">
417 </activity-alias>
Xiaohui Chenffcfe342015-05-13 13:18:36 -0700418 <activity android:name=".usb.UsbDebuggingSecondaryUserActivity"
419 android:theme="@style/Theme.SystemUI.Dialog.Alert"
420 android:finishOnCloseSystemDialogs="true"
421 android:excludeFromRecents="true">
422 </activity>
Benoit Goby4e68bd42012-04-25 18:06:00 -0700423
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700424 <!-- started from NetworkPolicyManagerService -->
425 <activity
426 android:name=".net.NetworkOverLimitActivity"
427 android:exported="true"
428 android:permission="android.permission.MANAGE_NETWORK_POLICY"
Alan Viverette62599332014-04-01 14:57:39 -0700429 android:theme="@android:style/Theme.DeviceDefault.Light.Panel"
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700430 android:finishOnCloseSystemDialogs="true"
431 android:launchMode="singleTop"
432 android:taskAffinity="com.android.systemui.net"
naoyuki kato132bb862016-11-22 13:27:11 +0900433 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700434 android:excludeFromRecents="true" />
435
Michael Wrightc39d47a2014-07-08 18:07:36 -0700436 <!-- started from MediaProjectionManager -->
437 <activity
438 android:name=".media.MediaProjectionPermissionActivity"
439 android:exported="true"
Adrian Roos752aee82014-11-25 21:11:19 +0100440 android:theme="@style/Theme.AlertDialogHost"
Michael Wrightc39d47a2014-07-08 18:07:36 -0700441 android:finishOnCloseSystemDialogs="true"
442 android:launchMode="singleTop"
Svet Ganovbeec97e2018-05-03 17:25:12 -0700443 android:excludeFromRecents="true"
444 android:visibleToInstantApps="true"/>
Michael Wrightc39d47a2014-07-08 18:07:36 -0700445
Youngsang Chof1647922015-12-17 13:39:39 -0800446 <!-- started from PipUI -->
447 <activity
Winsonbf8c2c02016-10-18 18:56:24 -0700448 android:name=".pip.tv.PipMenuActivity"
Jaewan Kimc1d15242017-07-07 18:12:04 +0900449 android:permission="com.android.systemui.permission.SELF"
450 android:exported="false"
Youngsang Chof1647922015-12-17 13:39:39 -0800451 android:theme="@style/PipTheme"
452 android:launchMode="singleTop"
Jaewan Kimebc8f8f2016-02-15 11:46:20 +0900453 android:taskAffinity=""
Jaewan Kim73ef3512016-07-18 13:50:33 +0900454 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|locale|layoutDirection"
Wale Ogunwaledc625752016-02-23 10:02:58 -0800455 android:resizeableActivity="true"
Youngsang Chof1647922015-12-17 13:39:39 -0800456 android:supportsPictureInPicture="true"
457 androidprv:alwaysFocusable="true"
458 android:excludeFromRecents="true" />
Youngsang Chof1647922015-12-17 13:39:39 -0800459
Winson Chung15504af2016-11-02 18:11:36 -0700460 <activity
461 android:name=".pip.phone.PipMenuActivity"
Jaewan Kimc1d15242017-07-07 18:12:04 +0900462 android:permission="com.android.systemui.permission.SELF"
Winson Chung15504af2016-11-02 18:11:36 -0700463 android:theme="@style/PipPhoneOverlayControlTheme"
464 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
465 android:excludeFromRecents="true"
466 android:exported="false"
467 android:resizeableActivity="true"
468 android:supportsPictureInPicture="true"
469 android:stateNotNeeded="true"
470 android:taskAffinity=""
Winson Chungc75ffe82016-12-16 16:20:16 -0800471 android:launchMode="singleTop"
Winson Chung15504af2016-11-02 18:11:36 -0700472 androidprv:alwaysFocusable="true" />
473
Jason Monke8f8be72018-01-21 10:10:35 -0500474 <!-- started from SliceProvider -->
475 <activity android:name=".SlicePermissionActivity"
476 android:theme="@style/Theme.SystemUI.Dialog.Alert"
477 android:finishOnCloseSystemDialogs="true"
478 android:excludeFromRecents="true">
479 <intent-filter>
Jason Monk0c179a92018-04-18 10:37:19 -0400480 <action android:name="com.android.intent.action.REQUEST_SLICE_PERMISSION" />
Jason Monke8f8be72018-01-21 10:10:35 -0500481 </intent-filter>
482 </activity>
483
Daniel Sandlera30b70352013-09-16 10:16:49 -0400484 <!-- platform logo easter egg activity -->
485 <activity
486 android:name=".DessertCase"
487 android:exported="true"
488 android:label="@string/dessert_case"
Daniel Sandler8475a742013-09-26 00:24:57 -0400489 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400490 android:launchMode="singleInstance"
Daniel Sandlerf9f63352013-10-15 00:17:25 -0400491 android:screenOrientation="locked"
492 android:process=":sweetsweetdesserts"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400493 android:excludeFromRecents="true">
494 <intent-filter>
495 <action android:name="android.intent.action.MAIN" />
496 <category android:name="android.intent.category.DEFAULT" />
Dan Sandler4455da92014-09-14 16:28:58 -0400497 </intent-filter>
498 </activity>
499
Dan Sandler8df3cfe62015-08-13 13:30:55 -0400500 <activity android:name=".egg.MLandActivity"
501 android:theme="@android:style/Theme.Material.NoActionBar"
Dan Sandler4455da92014-09-14 16:28:58 -0400502 android:exported="true"
Dan Sandler8df3cfe62015-08-13 13:30:55 -0400503 android:icon="@drawable/icon"
504 android:label="@string/mland"
Dan Sandler4455da92014-09-14 16:28:58 -0400505 android:launchMode="singleInstance"
506 android:screenOrientation="locked"
507 android:process=":sweetsweetdesserts"
508 android:excludeFromRecents="true">
509 <intent-filter>
510 <action android:name="android.intent.action.MAIN"/>
511 <category android:name="android.intent.category.DEFAULT" />
Daniel Sandlera30b70352013-09-16 10:16:49 -0400512 </intent-filter>
513 </activity>
514
515 <!-- a gallery of delicious treats -->
516 <service
517 android:name=".DessertCaseDream"
518 android:exported="true"
519 android:label="@string/dessert_case"
John Spurlockeb8d1be2014-06-25 17:46:15 -0400520 android:permission="android.permission.BIND_DREAM_SERVICE"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400521 android:enabled="false"
Daniel Sandlerf9f63352013-10-15 00:17:25 -0400522 android:process=":sweetsweetdesserts"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400523 >
524 <intent-filter>
525 <action android:name="android.service.dreams.DreamService" />
526 <category android:name="android.intent.category.DEFAULT" />
527 </intent-filter>
528 </service>
529
Jorim Jaggi380ecb82014-03-14 17:25:20 +0100530 <service
531 android:name=".keyguard.KeyguardService"
Ji-Hwan Lee25eb3d02014-04-22 12:39:26 +0900532 android:exported="true"
533 android:enabled="@bool/config_enableKeyguardService" />
Jorim Jaggi380ecb82014-03-14 17:25:20 +0100534
Robin Lee3fef1f22016-12-20 14:50:13 +0000535 <activity android:name=".keyguard.WorkLockActivity"
536 android:label="@string/accessibility_desc_work_lock"
537 android:permission="android.permission.MANAGE_USERS"
538 android:exported="false"
Robin Lee3fef1f22016-12-20 14:50:13 +0000539 android:excludeFromRecents="true"
540 android:stateNotNeeded="true"
541 android:resumeWhilePausing="true"
542 android:theme="@android:style/Theme.Black.NoTitleBar">
543 <intent-filter>
544 <action android:name="android.app.action.CONFIRM_DEVICE_CREDENTIAL_WITH_USER" />
545 <category android:name="android.intent.category.DEFAULT" />
546 </intent-filter>
547 </activity>
548
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400549 <activity android:name=".Somnambulator"
550 android:label="@string/start_dreams"
Daniel Sandlerb055aa82012-10-26 15:11:53 -0400551 android:icon="@mipmap/ic_launcher_dreams"
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400552 android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
553 android:exported="true"
554 android:excludeFromRecents="true"
555 >
Daniel Sandler7aa88f72012-10-04 15:03:22 -0400556 <!--
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400557 <intent-filter>
558 <action android:name="android.intent.action.CREATE_SHORTCUT" />
559 <category android:name="android.intent.category.DEFAULT" />
560 </intent-filter>
Daniel Sandler7aa88f72012-10-04 15:03:22 -0400561 -->
Daniel Sandler3a120292012-09-28 11:28:09 -0400562 <intent-filter>
563 <action android:name="android.intent.action.MAIN" />
564 <category android:name="android.intent.category.DEFAULT" />
565 <category android:name="android.intent.category.DESK_DOCK" />
566 </intent-filter>
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400567 </activity>
John Spurlockbf370992014-06-17 13:58:31 -0400568
Alan Viverette5a399492014-07-14 16:19:38 -0700569 <activity
570 android:name=".settings.BrightnessDialog"
571 android:label="@string/quick_settings_brightness_dialog_title"
Yoshinori Hirano2dd296f2017-05-22 17:34:54 +0900572 android:theme="@*android:style/Theme.DeviceDefault.QuickSettings.Dialog"
Alan Viverette5a399492014-07-14 16:19:38 -0700573 android:finishOnCloseSystemDialogs="true"
574 android:launchMode="singleInstance"
575 android:excludeFromRecents="true"
576 android:exported="true">
577 <intent-filter>
Peeyush Agarwald8d1e192017-03-24 14:56:01 +0000578 <action android:name="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG" />
Alan Viverette5a399492014-07-14 16:19:38 -0700579 <category android:name="android.intent.category.DEFAULT" />
580 </intent-filter>
581 </activity>
John Spurlockbf370992014-06-17 13:58:31 -0400582
Dianne Hackborn83b40f62017-04-26 13:59:47 -0700583 <activity android:name=".ForegroundServicesDialog"
584 android:process=":fgservices"
585 android:excludeFromRecents="true"
586 android:launchMode="singleTop"
587 android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog">
588 <intent-filter android:priority="1">
589 <action android:name="android.settings.FOREGROUND_SERVICES_SETTINGS" />
590 <category android:name="android.intent.category.DEFAULT" />
591 </intent-filter>
592 </activity>
593
Alison Cichowlas3e340502018-08-07 17:15:01 -0400594 <activity android:name=".chooser.ChooserActivity"
595 android:theme="@*android:style/Theme.NoDisplay"
596 android:finishOnCloseSystemDialogs="true"
597 android:excludeFromRecents="true"
598 android:documentLaunchMode="never"
599 android:relinquishTaskIdentity="true"
600 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
601 android:process=":ui"
602 android:visibleToInstantApps="true">
Alison Cichowlas3e340502018-08-07 17:15:01 -0400603 </activity>
604
John Spurlockc6eed842014-08-25 12:19:41 -0400605 <!-- Doze with notifications, run in main sysui process for every user -->
John Spurlockbf370992014-06-17 13:58:31 -0400606 <service
607 android:name=".doze.DozeService"
John Spurlockeb8d1be2014-06-25 17:46:15 -0400608 android:exported="true"
John Spurlockc6eed842014-08-25 12:19:41 -0400609 android:singleUser="true"
John Spurlockeb8d1be2014-06-25 17:46:15 -0400610 android:permission="android.permission.BIND_DREAM_SERVICE" />
Jason Monk431ad732015-07-16 08:58:15 -0400611
612 <receiver
613 android:name=".tuner.TunerService$ClearReceiver"
614 android:exported="false">
615 <intent-filter>
616 <action android:name="com.android.systemui.action.CLEAR_TUNER" />
617 </intent-filter>
618 </receiver>
Clara Bayarrieb3c2d32016-04-01 14:37:32 +0100619
Adrian Roos91250682017-02-06 14:48:15 -0800620 <provider
Aurimas Liutikasfd52c142018-04-17 09:50:46 -0700621 android:name="androidx.core.content.FileProvider"
Adrian Roos91250682017-02-06 14:48:15 -0800622 android:authorities="com.android.systemui.fileprovider"
623 android:exported="false"
624 android:grantUriPermissions="true">
625 <meta-data
626 android:name="android.support.FILE_PROVIDER_PATHS"
627 android:resource="@xml/fileprovider" />
628 </provider>
629
Lucas Dupin957e50c2017-10-10 11:23:27 -0700630 <provider android:name=".keyguard.KeyguardSliceProvider"
631 android:authorities="com.android.systemui.keyguard"
Jason Monke8f8be72018-01-21 10:10:35 -0500632 android:grantUriPermissions="true"
Lucas Dupin957e50c2017-10-10 11:23:27 -0700633 android:exported="true">
634 </provider>
635
Robert Snoeberger6b244b02019-02-04 15:33:31 -0500636 <!-- Provides list and realistic previews of clock faces for the picker app. -->
637 <provider
638 android:name="com.android.keyguard.clock.ClockOptionsProvider"
639 android:authorities="com.android.keyguard.clock"
640 android:exported="true"
641 android:grantUriPermissions="true">
642 </provider>
643
Clara Bayarrieb3c2d32016-04-01 14:37:32 +0100644 <receiver
645 android:name=".statusbar.KeyboardShortcutsReceiver">
646 <intent-filter>
Peeyush Agarwald8d1e192017-03-24 14:56:01 +0000647 <action android:name="com.android.intent.action.DISMISS_KEYBOARD_SHORTCUTS" />
648 <action android:name="com.android.intent.action.SHOW_KEYBOARD_SHORTCUTS" />
Clara Bayarrieb3c2d32016-04-01 14:37:32 +0100649 </intent-filter>
650 </receiver>
Dan Sandler4d90d1e2018-03-23 16:29:06 -0400651
Joe Onorato2314aab2010-04-08 16:41:23 -0500652 </application>
653</manifest>