blob: 815ae9ac225c40a247e7eca76bef56485b4eb178 [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 Wu9a8e2602019-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" />
Joe Onorato2314aab2010-04-08 16:41:23 -050045
Joe Onorato8bc6c512010-06-04 16:21:12 -040046 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070047 <uses-permission android:name="android.permission.STATUS_BAR" />
48 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Jeff Sharkey098d5802012-04-26 17:30:34 -070049 <uses-permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070050
Amith Yamasani2a003292012-08-14 18:25:45 -070051 <uses-permission android:name="android.permission.MANAGE_USERS" />
Winson Chungd63c59782012-09-05 17:34:41 -070052 <uses-permission android:name="android.permission.READ_PROFILE" />
53 <uses-permission android:name="android.permission.READ_CONTACTS" />
Jeff Brown508257b2012-09-08 23:15:12 -070054 <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
Winson Chung08b1cc82012-09-11 10:00:53 -070055 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
David Christiec750c1f2013-08-08 12:56:57 -070056 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
Jeff Sharkey4a539442018-01-05 17:09:52 -070057 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Daniel Sandlerb9301c32012-08-14 15:08:24 -040058
Jeff Sharkey35be7562012-04-18 19:16:15 -070059 <!-- Networking and telephony -->
Daniel Sandlerd39e3882010-08-31 14:16:13 -040060 <uses-permission android:name="android.permission.BLUETOOTH" />
61 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Jason Monkbe3c5db2015-02-04 13:00:55 -050062 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
Fyodor Kupolova8610172015-07-23 12:47:06 -070063 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Jeff Sharkey35be7562012-04-18 19:16:15 -070064 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Jason Monkd7bd9d62014-09-23 09:25:29 -040065 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Robert Greenwalt0f1ed302015-07-08 16:34:33 -070066 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070067 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
68 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Lorenzo Colittie14627e42015-04-06 17:28:56 +090069 <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
Jeff Sharkeye6b65332012-04-30 17:14:51 -070070 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
John Spurlock6627ff62014-05-23 12:59:27 -040071 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Rebecca Silbersteina2158742017-05-08 11:11:50 -070072 <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
Jeremy Kleind42209d2015-12-28 15:11:58 -080073 <uses-permission android:name="android.permission.TETHER_PRIVILEGED" />
John Spurlockb98f7472014-07-08 17:09:42 -040074 <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" />
Sundeep Ghuman5519b7b2016-12-14 17:53:31 -080075 <uses-permission android:name="android.permission.REQUEST_NETWORK_SCORES" />
Jeff Davidsonbc19c182014-11-11 13:20:01 -080076 <uses-permission android:name="android.permission.CONTROL_VPN" />
Fyodor Kupolov136a2e7f2015-07-27 12:20:18 -070077 <uses-permission android:name="android.permission.PEERS_MAC_ADDRESS"/>
Jeff Sharkey35be7562012-04-18 19:16:15 -070078 <!-- Physical hardware -->
Mike Lockwood3a68b832011-03-08 10:08:59 -050079 <uses-permission android:name="android.permission.MANAGE_USB" />
Michael Wrightd8460232018-01-16 18:04:59 +000080 <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070081 <uses-permission android:name="android.permission.DEVICE_POWER" />
82 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
Daniel Sandler0f5985c2012-05-01 15:42:56 -040083 <uses-permission android:name="android.permission.MASTER_CLEAR" />
Jim Miller64fffad2012-05-17 17:01:15 -070084 <uses-permission android:name="android.permission.VIBRATE" />
Chad Brubaker90f391f2018-10-19 10:26:19 -070085 <uses-permission android:name="android.permission.MANAGE_SENSOR_PRIVACY" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070086
87 <!-- ActivityManager -->
Dianne Hackborn2d7576b2014-10-03 16:26:04 -070088 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
Dianne Hackborn8238e712012-04-24 11:15:40 -070089 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
Jeff Sharkey35be7562012-04-18 19:16:15 -070090 <uses-permission android:name="android.permission.REORDER_TASKS" />
91 <uses-permission android:name="android.permission.REMOVE_TASKS" />
92 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
93 <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" />
94 <uses-permission android:name="android.permission.START_ANY_ACTIVITY" />
Michal Karpinski7b97a022018-12-14 15:17:29 +000095 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
Adrian Roose9c7d432014-07-17 18:27:38 +020096 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Amith Yamasani82644082012-08-03 13:09:11 -070097 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Dianne Hackbornf9c5e0f2013-01-23 14:39:13 -080098 <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO" />
Winson Chung303e1ff2014-03-07 15:06:19 -080099 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Alison Cichowlas3e340502018-08-07 17:15:01 -0400100 <uses-permission android:name="android.permission.START_ACTIVITY_AS_CALLER" />
Craig Mautnerdc00cbe2014-07-20 17:48:47 -0700101 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" />
Dianne Hackborne5ad41b2016-02-29 18:02:43 -0800102 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
Jim Millercaf24fc2013-09-10 18:37:01 -0700103
Jeff Sharkey35be7562012-04-18 19:16:15 -0700104 <!-- WindowManager -->
105 <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
Jeff Sharkeyaf772be2012-04-24 16:13:17 -0700106 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Jeff Sharkey35be7562012-04-18 19:16:15 -0700107 <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
108 <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
Filip Gruszczynski64cdc142015-11-29 21:10:07 -0800109 <uses-permission android:name="android.permission.REGISTER_WINDOW_MANAGER_LISTENERS" />
Jeff Sharkey35be7562012-04-18 19:16:15 -0700110 <uses-permission android:name="android.permission.SET_ORIENTATION" />
111 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Joe Onorato8bc6c512010-06-04 16:21:12 -0400112
John Spurlockf4f6b4c2012-08-25 12:08:03 -0400113 <!-- DreamManager -->
114 <uses-permission android:name="android.permission.READ_DREAM_STATE" />
115 <uses-permission android:name="android.permission.WRITE_DREAM_STATE" />
116
Satoshi Kataokac44f7a22013-05-22 08:54:56 +0900117 <!-- Alarm clocks -->
118 <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
119
Jim Millercaf24fc2013-09-10 18:37:01 -0700120 <!-- Keyguard -->
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -0800121 <uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
Jim Millercaf24fc2013-09-10 18:37:01 -0700122 <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
Jorim Jaggi5cf17872014-03-26 18:31:48 +0100123 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Ian Pedowitz358e51f2016-03-15 17:08:27 +0000124 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Jorim Jaggi5cf17872014-03-26 18:31:48 +0100125 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
126 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
127 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
128 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
129 <uses-permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE" />
Jorim Jaggie111c732014-03-31 22:50:13 +0200130 <uses-permission android:name="android.permission.TRUST_LISTENER" />
Kevin Chyna24e9fd2018-08-27 12:39:17 -0700131 <uses-permission android:name="android.permission.USE_BIOMETRIC_INTERNAL" />
Jim Millerba67aee2015-02-20 16:21:26 -0800132 <uses-permission android:name="android.permission.USE_FINGERPRINT" />
Jim Millere0507bb2015-08-12 20:30:34 -0700133 <uses-permission android:name="android.permission.RESET_FINGERPRINT_LOCKOUT" />
Jason Monke8f8be72018-01-21 10:10:35 -0500134 <uses-permission android:name="android.permission.MANAGE_SLICE_PERMISSIONS" />
Zimuzob3b9c262018-10-31 11:54:20 +0000135 <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
Jim Millercaf24fc2013-09-10 18:37:01 -0700136
Samuel Asteberg8d516a82015-02-25 15:51:05 +0100137 <!-- Needed for WallpaperManager.clear in ImageWallpaper.updateWallpaperLocked -->
138 <uses-permission android:name="android.permission.SET_WALLPAPER"/>
139
Jeff Brownaf574182013-11-14 18:16:08 -0800140 <!-- Wifi Display -->
141 <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
142
Adrian Roosb83777b2014-06-30 15:11:53 +0200143 <uses-permission android:name="android.permission.CAMERA" />
144
Michael Wrightc39d47a2014-07-08 18:07:36 -0700145 <!-- Screen Capturing -->
Michael Wrightd86ecd22014-08-12 19:27:54 -0700146 <uses-permission android:name="android.permission.MANAGE_MEDIA_PROJECTION" />
Michael Wrightc39d47a2014-07-08 18:07:36 -0700147
Beth Thibodeau5898ac42018-10-26 13:00:09 -0400148 <!-- Screen Recording -->
149 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
150 <uses-permission android:name="android.permission.RECORD_AUDIO" />
151
Jorim Jaggi25e12ab2015-04-02 11:46:28 -0700152 <!-- Assist -->
153 <uses-permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE" />
154
Dianne Hackbornc3af19a2017-01-20 17:00:44 -0800155 <!-- Doze mode temp whitelisting for notification dispatching. -->
156 <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
157
Michael Wright9209c9c2015-09-03 17:57:01 +0100158 <!-- Listen for keyboard attachment / detachment -->
159 <uses-permission android:name="android.permission.TABLET_MODE" />
160
Amith Yamasanid81f8272015-07-23 17:15:45 -0700161 <!-- Self permission for internal broadcasts. -->
162 <permission android:name="com.android.systemui.permission.SELF"
163 android:protectionLevel="signature" />
164 <uses-permission android:name="com.android.systemui.permission.SELF" />
165
Jason Monk86bc3312016-08-16 13:17:56 -0400166 <permission android:name="com.android.systemui.permission.PLUGIN"
167 android:protectionLevel="signature" />
168
Mindy Pereiraa59301a2015-12-10 10:59:06 -0800169 <!-- Adding Quick Settings tiles -->
170 <uses-permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE" />
171
Julia Reynoldsbe8fdee2015-12-18 09:04:34 -0500172 <!-- Block notifications inline notifications -->
173 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
174
Jason Monkc06fbb12016-01-08 14:12:18 -0500175 <!-- Access battery information -->
176 <uses-permission android:name="android.permission.BATTERY_STATS" />
177
Sudheer Shanka9a2eb852016-01-15 17:20:55 +0000178 <!-- DevicePolicyManager get user restrictions -->
179 <uses-permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS" />
180
Youngsang Choad8ceb02016-01-15 16:59:27 -0800181 <!-- TV picture-in-picture -->
182 <uses-permission android:name="android.permission.RECEIVE_MEDIA_RESOURCE_USAGE" />
183
Julia Reynoldsa014e202016-03-22 13:03:32 -0700184 <!-- DND access -->
185 <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS" />
186
Dan Sandlerdc34df52016-04-07 21:04:46 -0400187 <!-- It's like, reality, but, you know, virtual -->
188 <uses-permission android:name="android.permission.ACCESS_VR_MANAGER" />
189
Dan Sandlerd52ea0c2016-04-14 10:16:28 -0400190 <!-- the ability to rename notifications posted by other apps -->
191 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
192
Makoto Onukid6e1f3b2016-06-14 11:17:59 -0700193 <!-- shortcut manager -->
194 <uses-permission android:name="android.permission.RESET_SHORTCUT_MANAGER_THROTTLING" />
195
Jason Monk97a06a12016-11-09 15:53:30 -0500196 <uses-permission android:name="android.permission.MODIFY_THEME_OVERLAY" />
197
Phil Weaverf00cd142017-03-03 13:44:00 -0800198 <!-- accessibility -->
199 <uses-permission android:name="android.permission.MODIFY_ACCESSIBILITY_DATA" />
200
Jean-Michel Triviab2d9312017-03-13 15:33:39 -0700201 <!-- to control accessibility volume -->
Phil Weaverf1a9aff2017-03-23 17:21:29 -0700202 <uses-permission android:name="android.permission.CHANGE_ACCESSIBILITY_VOLUME" />
Jean-Michel Triviab2d9312017-03-13 15:33:39 -0700203
Kang Li38a6da642017-04-05 12:30:55 -0700204 <!-- to access ResolverRankerServices -->
205 <uses-permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE" />
206
Todd Kennedye6393c92017-05-16 15:47:01 -0700207 <!-- to access instant apps -->
208 <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" />
209
Selim Cinek2627d722018-01-19 12:16:49 -0800210 <!-- to control remote app transitions -->
211 <uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
212
Lucas Dupin987f1932017-05-13 21:02:52 -0700213 <!-- to change themes - light or dark -->
214 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
215
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800216 <!-- Listen app op changes -->
217 <uses-permission android:name="android.permission.WATCH_APPOPS" />
218
Brad Stenning38b46f82018-03-27 13:57:29 -0700219 <!-- to read and change hvac values in a car -->
Kaia45c7a62018-04-10 14:15:17 -0700220 <uses-permission android:name="android.car.permission.CONTROL_CAR_CLIMATE" />
Brad Stenning38b46f82018-03-27 13:57:29 -0700221
jovanakedba98c2018-09-14 15:46:24 -0700222 <!-- to be able to detect the driving state in a car-->
223 <uses-permission android:name="android.car.permission.CAR_DRIVING_STATE" />
224
Lin Guod7468d42018-05-02 14:25:10 -0700225 <!-- Permission necessary to change car audio volume through CarAudioManager -->
226 <uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" />
227
Kenny Roota5964c02018-01-23 20:08:39 +0900228 <!-- Permission to control Android Debug Bridge (ADB) -->
229 <uses-permission android:name="android.permission.MANAGE_DEBUGGING" />
230
Jason Monkb14dde072018-05-25 15:13:16 -0400231 <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
232
Christine Franks39b03112018-07-03 14:46:07 -0700233 <!-- Permission to change the display color -->
234 <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" />
235
Jason Monk636741f2018-05-31 10:32:57 -0400236 <protected-broadcast android:name="com.android.settingslib.action.REGISTER_SLICE_RECEIVER" />
237 <protected-broadcast android:name="com.android.settingslib.action.UNREGISTER_SLICE_RECEIVER" />
Lucas Dupin7c6ca762018-09-13 11:54:30 -0700238 <protected-broadcast android:name="com.android.settings.flashlight.action.FLASHLIGHT_CHANGED" />
Jason Monk636741f2018-05-31 10:32:57 -0400239
Joe Onorato2314aab2010-04-08 16:41:23 -0500240 <application
Jorim Jaggicff0acb2014-03-31 16:35:15 +0200241 android:name=".SystemUIApplication"
Dianne Hackborn26755a32010-07-30 17:24:38 -0700242 android:persistent="true"
Joe Onorato2314aab2010-04-08 16:41:23 -0500243 android:allowClearUserData="false"
Christopher Tate2efd2db2011-07-19 16:32:49 -0700244 android:allowBackup="false"
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -0500245 android:hardwareAccelerated="true"
Joe Onorato2314aab2010-04-08 16:41:23 -0500246 android:label="@string/app_label"
Dan Sandler2200f862014-10-06 01:04:47 -0400247 android:icon="@drawable/icon"
Jim Miller5ecd8112013-01-09 18:50:26 -0800248 android:process="com.android.systemui"
Adrian Roos070a0b62014-04-10 23:25:03 +0200249 android:supportsRtl="true"
Lucas Dupine17ce522017-07-17 15:45:06 -0700250 android:theme="@style/Theme.SystemUI"
Jeff Sharkey8a372a02016-03-16 16:25:45 -0600251 android:defaultToDeviceProtectedStorage="true"
Jeff Gastonc2100af2018-04-04 01:54:52 -0400252 android:directBootAware="true"
Aurimas Liutikasfd52c142018-04-17 09:50:46 -0700253 android:appComponentFactory="androidx.core.app.CoreComponentFactory">
Adrian Roos070a0b62014-04-10 23:25:03 +0200254 <!-- Keep theme in sync with SystemUIApplication.onCreate().
255 Setting the theme on the application does not affect views inflated by services.
256 The application theme is set again from onCreate to take effect for those views. -->
Joe Onorato808182d2010-07-09 18:52:06 -0400257
Joe Onoratof3c3c4f2010-10-21 11:09:02 -0400258 <!-- Broadcast receiver that gets the broadcast at boot time and starts
259 up everything else.
260 TODO: Should have an android:permission attribute
261 -->
262 <service android:name="SystemUIService"
263 android:exported="true"
Lucas Dupin957e50c2017-10-10 11:23:27 -0700264 />
Joe Onoratofe4f3ae2010-06-04 11:25:26 -0700265
Winson Chung2dbcf092018-10-24 13:00:41 -0700266 <!-- On user switch, this service is started to ensure that the associated SystemUI
267 process for the current user is started. See the resource
268 "config_systemUIServiceComponentsPerUser".
Winson3c2c34b2016-04-04 17:47:41 -0700269 -->
270 <service android:name="SystemUISecondaryUserService"
Winson Chung2dbcf092018-10-24 13:00:41 -0700271 android:exported="false"
Winson3c2c34b2016-04-04 17:47:41 -0700272 android:permission="com.android.systemui.permission.SELF" />
273
Winson Chung9112ec32011-06-27 13:15:32 -0700274 <!-- started from PhoneWindowManager
275 TODO: Should have an android:permission attribute -->
276 <service android:name=".screenshot.TakeScreenshotService"
Dianne Hackbornfc8fa632011-08-17 16:20:47 -0700277 android:process=":screenshot"
Winson Chung9112ec32011-06-27 13:15:32 -0700278 android:exported="false" />
279
Winson44dbe292016-03-10 14:00:14 -0800280 <!-- Called from PhoneWindowManager -->
281 <receiver android:name=".screenshot.ScreenshotServiceErrorReceiver"
282 android:process=":screenshot"
283 android:exported="false">
284 <intent-filter>
285 <action android:name="com.android.systemui.screenshot.SHOW_ERROR" />
286 </intent-filter>
287 </receiver>
288
Beth Thibodeau5898ac42018-10-26 13:00:09 -0400289 <activity android:name=".screenrecord.ScreenRecordDialog"
290 android:theme="@style/ScreenRecord" />
291 <service android:name=".screenrecord.RecordingService" />
292
Jason Monk59d86ed2017-01-04 15:13:11 -0500293 <receiver android:name=".SysuiRestartReceiver"
294 android:exported="false">
295 <intent-filter>
296 <action android:name="com.android.systemui.action.RESTART" />
297
298 <data android:scheme="package" />
299 </intent-filter>
300 </receiver>
301
Dianne Hackbornba398392011-08-01 16:11:57 -0700302 <service android:name=".ImageWallpaper"
303 android:permission="android.permission.BIND_WALLPAPER"
304 android:exported="true" />
305
Jason Monk295a3372015-05-11 16:57:15 -0400306 <activity android:name=".tuner.TunerActivity"
307 android:enabled="false"
Dan Sandler696f6a32015-05-15 15:08:34 -0400308 android:icon="@drawable/tuner"
Jason Monk87ccd552015-12-11 21:39:54 -0500309 android:theme="@style/TunerSettings"
Jason Monk295a3372015-05-11 16:57:15 -0400310 android:label="@string/system_ui_tuner"
Dan Sandler696f6a32015-05-15 15:08:34 -0400311 android:process=":tuner"
Jason Monk295a3372015-05-11 16:57:15 -0400312 android:exported="true">
313 <intent-filter>
314 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
315 <category android:name="android.intent.category.DEFAULT" />
316 </intent-filter>
317 <meta-data android:name="com.android.settings.category"
Fan Zhang1137f872017-07-07 15:55:27 -0700318 android:value="com.android.settings.category.ia.system" />
Fan Zhang96028312017-10-09 13:50:55 -0700319 <meta-data android:name="com.android.settings.summary"
320 android:resource="@string/summary_empty"/>
Jason Monk295a3372015-05-11 16:57:15 -0400321 </activity>
322
Jason Monk98d7c7a2016-04-12 13:08:31 -0400323 <activity-alias android:name=".DemoMode"
324 android:targetActivity=".tuner.TunerActivity"
325 android:icon="@drawable/tuner"
326 android:theme="@style/TunerSettings"
327 android:label="@string/demo_mode"
328 android:process=":tuner"
329 android:exported="true">
330 <intent-filter>
331 <action android:name="com.android.settings.action.DEMO_MODE" />
332 <category android:name="android.intent.category.DEFAULT" />
333 </intent-filter>
334 </activity-alias>
335
Jorim Jaggi2adba072016-03-03 13:43:39 +0100336 <activity
337 android:name=".stackdivider.ForcedResizableInfoActivity"
338 android:theme="@style/ForcedResizableTheme"
339 android:excludeFromRecents="true"
340 android:stateNotNeeded="true"
Wale Ogunwale3840c882016-05-07 14:13:52 -0700341 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
Jorim Jaggi2adba072016-03-03 13:43:39 +0100342 android:exported="false">
343 </activity>
344
Winson Chung06ca2742018-06-29 12:26:49 -0700345 <!-- Springboard for launching the share and edit activity. This needs to be in the main
346 system ui process since we need to notify the status bar to dismiss the keyguard -->
347 <receiver android:name=".screenshot.GlobalScreenshot$ActionProxyReceiver"
Winson Chunged376a32017-09-07 14:05:42 -0700348 android:exported="false" />
349
Adam Powelld4d34152015-04-17 12:13:40 -0700350 <!-- Callback for dismissing screenshot notification after a share target is picked -->
351 <receiver android:name=".screenshot.GlobalScreenshot$TargetChosenReceiver"
Winson Chunged376a32017-09-07 14:05:42 -0700352 android:exported="false" />
Winson Chung8858e6e2015-05-27 17:18:56 -0700353
354 <!-- Callback for deleting screenshot notification -->
355 <receiver android:name=".screenshot.GlobalScreenshot$DeleteScreenshotReceiver"
Winson Chunged376a32017-09-07 14:05:42 -0700356 android:exported="false" />
Adam Powelld4d34152015-04-17 12:13:40 -0700357
Mike Lockwood3a68b832011-03-08 10:08:59 -0500358 <!-- started from UsbDeviceSettingsManager -->
Mike Lockwoodbce6f8f2011-03-13 17:26:52 -0400359 <activity android:name=".usb.UsbConfirmActivity"
360 android:exported="true"
361 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700362 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwoodbce6f8f2011-03-13 17:26:52 -0400363 android:finishOnCloseSystemDialogs="true"
364 android:excludeFromRecents="true">
365 </activity>
366
367 <!-- started from UsbDeviceSettingsManager -->
Mike Lockwood3a68b832011-03-08 10:08:59 -0500368 <activity android:name=".usb.UsbPermissionActivity"
369 android:exported="true"
370 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700371 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwood3a68b832011-03-08 10:08:59 -0500372 android:finishOnCloseSystemDialogs="true"
373 android:excludeFromRecents="true">
374 </activity>
375
376 <!-- started from UsbDeviceSettingsManager -->
377 <activity android:name=".usb.UsbResolverActivity"
378 android:exported="true"
379 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700380 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwood3a68b832011-03-08 10:08:59 -0500381 android:finishOnCloseSystemDialogs="true"
382 android:excludeFromRecents="true">
383 </activity>
Mike Lockwood024b4f12011-03-10 12:12:31 -0500384
385 <!-- started from UsbDeviceSettingsManager -->
386 <activity android:name=".usb.UsbAccessoryUriActivity"
387 android:exported="true"
388 android:permission="android.permission.MANAGE_USB"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700389 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Mike Lockwood024b4f12011-03-10 12:12:31 -0500390 android:finishOnCloseSystemDialogs="true"
391 android:excludeFromRecents="true">
392 </activity>
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700393
Badhri Jagan Sridharan392b7472019-01-08 20:39:06 -0800394 <!-- started from UsbPortManager -->
395 <activity android:name=".usb.UsbContaminantActivity"
396 android:exported="true"
397 android:permission="android.permission.MANAGE_USB"
398 android:theme="@style/Theme.SystemUI.Dialog.Alert"
399 android:finishOnCloseSystemDialogs="true"
400 android:excludeFromRecents="true">
401 </activity>
402
Kenny Root7c4e6612018-01-16 11:19:47 -0800403 <!-- started from AdbDebuggingManager -->
Benoit Goby4e68bd42012-04-25 18:06:00 -0700404 <activity android:name=".usb.UsbDebuggingActivity"
Kenny Roota5964c02018-01-23 20:08:39 +0900405 android:permission="android.permission.MANAGE_DEBUGGING"
Craig Stout9eef7bc2014-05-06 19:10:53 -0700406 android:theme="@style/Theme.SystemUI.Dialog.Alert"
Benoit Goby4e68bd42012-04-25 18:06:00 -0700407 android:finishOnCloseSystemDialogs="true"
408 android:excludeFromRecents="true">
409 </activity>
Beverly796282a2018-02-02 11:40:54 -0500410 <activity-alias
411 android:name=".UsbDebuggingActivityAlias"
412 android:permission="android.permission.DUMP"
413 android:targetActivity=".usb.UsbDebuggingActivity"
414 android:exported="true">
415 </activity-alias>
Xiaohui Chenffcfe342015-05-13 13:18:36 -0700416 <activity android:name=".usb.UsbDebuggingSecondaryUserActivity"
417 android:theme="@style/Theme.SystemUI.Dialog.Alert"
418 android:finishOnCloseSystemDialogs="true"
419 android:excludeFromRecents="true">
420 </activity>
Benoit Goby4e68bd42012-04-25 18:06:00 -0700421
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700422 <!-- started from NetworkPolicyManagerService -->
423 <activity
424 android:name=".net.NetworkOverLimitActivity"
425 android:exported="true"
426 android:permission="android.permission.MANAGE_NETWORK_POLICY"
Alan Viverette62599332014-04-01 14:57:39 -0700427 android:theme="@android:style/Theme.DeviceDefault.Light.Panel"
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700428 android:finishOnCloseSystemDialogs="true"
429 android:launchMode="singleTop"
430 android:taskAffinity="com.android.systemui.net"
naoyuki kato132bb862016-11-22 13:27:11 +0900431 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
Jeff Sharkey41ff7ec2011-07-25 15:21:22 -0700432 android:excludeFromRecents="true" />
433
Michael Wrightc39d47a2014-07-08 18:07:36 -0700434 <!-- started from MediaProjectionManager -->
435 <activity
436 android:name=".media.MediaProjectionPermissionActivity"
437 android:exported="true"
Adrian Roos752aee82014-11-25 21:11:19 +0100438 android:theme="@style/Theme.AlertDialogHost"
Michael Wrightc39d47a2014-07-08 18:07:36 -0700439 android:finishOnCloseSystemDialogs="true"
440 android:launchMode="singleTop"
Svet Ganovbeec97e2018-05-03 17:25:12 -0700441 android:excludeFromRecents="true"
442 android:visibleToInstantApps="true"/>
Michael Wrightc39d47a2014-07-08 18:07:36 -0700443
Youngsang Chof1647922015-12-17 13:39:39 -0800444 <!-- started from PipUI -->
445 <activity
Winsonbf8c2c02016-10-18 18:56:24 -0700446 android:name=".pip.tv.PipMenuActivity"
Jaewan Kimc1d15242017-07-07 18:12:04 +0900447 android:permission="com.android.systemui.permission.SELF"
448 android:exported="false"
Youngsang Chof1647922015-12-17 13:39:39 -0800449 android:theme="@style/PipTheme"
450 android:launchMode="singleTop"
Jaewan Kimebc8f8f2016-02-15 11:46:20 +0900451 android:taskAffinity=""
Jaewan Kim73ef3512016-07-18 13:50:33 +0900452 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|locale|layoutDirection"
Wale Ogunwaledc625752016-02-23 10:02:58 -0800453 android:resizeableActivity="true"
Youngsang Chof1647922015-12-17 13:39:39 -0800454 android:supportsPictureInPicture="true"
455 androidprv:alwaysFocusable="true"
456 android:excludeFromRecents="true" />
Youngsang Chof1647922015-12-17 13:39:39 -0800457
Winson Chung15504af2016-11-02 18:11:36 -0700458 <activity
459 android:name=".pip.phone.PipMenuActivity"
Jaewan Kimc1d15242017-07-07 18:12:04 +0900460 android:permission="com.android.systemui.permission.SELF"
Winson Chung15504af2016-11-02 18:11:36 -0700461 android:theme="@style/PipPhoneOverlayControlTheme"
462 android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
463 android:excludeFromRecents="true"
464 android:exported="false"
465 android:resizeableActivity="true"
466 android:supportsPictureInPicture="true"
467 android:stateNotNeeded="true"
468 android:taskAffinity=""
Winson Chungc75ffe82016-12-16 16:20:16 -0800469 android:launchMode="singleTop"
Winson Chung15504af2016-11-02 18:11:36 -0700470 androidprv:alwaysFocusable="true" />
471
Jason Monke8f8be72018-01-21 10:10:35 -0500472 <!-- started from SliceProvider -->
473 <activity android:name=".SlicePermissionActivity"
474 android:theme="@style/Theme.SystemUI.Dialog.Alert"
475 android:finishOnCloseSystemDialogs="true"
476 android:excludeFromRecents="true">
477 <intent-filter>
Jason Monk0c179a92018-04-18 10:37:19 -0400478 <action android:name="com.android.intent.action.REQUEST_SLICE_PERMISSION" />
Jason Monke8f8be72018-01-21 10:10:35 -0500479 </intent-filter>
480 </activity>
481
Daniel Sandlera30b70352013-09-16 10:16:49 -0400482 <!-- platform logo easter egg activity -->
483 <activity
484 android:name=".DessertCase"
485 android:exported="true"
486 android:label="@string/dessert_case"
Daniel Sandler8475a742013-09-26 00:24:57 -0400487 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400488 android:launchMode="singleInstance"
Daniel Sandlerf9f63352013-10-15 00:17:25 -0400489 android:screenOrientation="locked"
490 android:process=":sweetsweetdesserts"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400491 android:excludeFromRecents="true">
492 <intent-filter>
493 <action android:name="android.intent.action.MAIN" />
494 <category android:name="android.intent.category.DEFAULT" />
Dan Sandler4455da92014-09-14 16:28:58 -0400495 </intent-filter>
496 </activity>
497
Dan Sandler8df3cfe62015-08-13 13:30:55 -0400498 <activity android:name=".egg.MLandActivity"
499 android:theme="@android:style/Theme.Material.NoActionBar"
Dan Sandler4455da92014-09-14 16:28:58 -0400500 android:exported="true"
Dan Sandler8df3cfe62015-08-13 13:30:55 -0400501 android:icon="@drawable/icon"
502 android:label="@string/mland"
Dan Sandler4455da92014-09-14 16:28:58 -0400503 android:launchMode="singleInstance"
504 android:screenOrientation="locked"
505 android:process=":sweetsweetdesserts"
506 android:excludeFromRecents="true">
507 <intent-filter>
508 <action android:name="android.intent.action.MAIN"/>
509 <category android:name="android.intent.category.DEFAULT" />
Daniel Sandlera30b70352013-09-16 10:16:49 -0400510 </intent-filter>
511 </activity>
512
513 <!-- a gallery of delicious treats -->
514 <service
515 android:name=".DessertCaseDream"
516 android:exported="true"
517 android:label="@string/dessert_case"
John Spurlockeb8d1be2014-06-25 17:46:15 -0400518 android:permission="android.permission.BIND_DREAM_SERVICE"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400519 android:enabled="false"
Daniel Sandlerf9f63352013-10-15 00:17:25 -0400520 android:process=":sweetsweetdesserts"
Daniel Sandlera30b70352013-09-16 10:16:49 -0400521 >
522 <intent-filter>
523 <action android:name="android.service.dreams.DreamService" />
524 <category android:name="android.intent.category.DEFAULT" />
525 </intent-filter>
526 </service>
527
Jorim Jaggi380ecb82014-03-14 17:25:20 +0100528 <service
529 android:name=".keyguard.KeyguardService"
Ji-Hwan Lee25eb3d02014-04-22 12:39:26 +0900530 android:exported="true"
531 android:enabled="@bool/config_enableKeyguardService" />
Jorim Jaggi380ecb82014-03-14 17:25:20 +0100532
Robin Lee3fef1f22016-12-20 14:50:13 +0000533 <activity android:name=".keyguard.WorkLockActivity"
534 android:label="@string/accessibility_desc_work_lock"
535 android:permission="android.permission.MANAGE_USERS"
536 android:exported="false"
Robin Lee3fef1f22016-12-20 14:50:13 +0000537 android:excludeFromRecents="true"
538 android:stateNotNeeded="true"
539 android:resumeWhilePausing="true"
540 android:theme="@android:style/Theme.Black.NoTitleBar">
541 <intent-filter>
542 <action android:name="android.app.action.CONFIRM_DEVICE_CREDENTIAL_WITH_USER" />
543 <category android:name="android.intent.category.DEFAULT" />
544 </intent-filter>
545 </activity>
546
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400547 <activity android:name=".Somnambulator"
548 android:label="@string/start_dreams"
Daniel Sandlerb055aa82012-10-26 15:11:53 -0400549 android:icon="@mipmap/ic_launcher_dreams"
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400550 android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
551 android:exported="true"
552 android:excludeFromRecents="true"
553 >
Daniel Sandler7aa88f72012-10-04 15:03:22 -0400554 <!--
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400555 <intent-filter>
556 <action android:name="android.intent.action.CREATE_SHORTCUT" />
557 <category android:name="android.intent.category.DEFAULT" />
558 </intent-filter>
Daniel Sandler7aa88f72012-10-04 15:03:22 -0400559 -->
Daniel Sandler3a120292012-09-28 11:28:09 -0400560 <intent-filter>
561 <action android:name="android.intent.action.MAIN" />
562 <category android:name="android.intent.category.DEFAULT" />
563 <category android:name="android.intent.category.DESK_DOCK" />
564 </intent-filter>
Daniel Sandler32f6fd52012-09-06 01:22:59 -0400565 </activity>
John Spurlockbf370992014-06-17 13:58:31 -0400566
Alan Viverette5a399492014-07-14 16:19:38 -0700567 <activity
568 android:name=".settings.BrightnessDialog"
569 android:label="@string/quick_settings_brightness_dialog_title"
Yoshinori Hirano2dd296f2017-05-22 17:34:54 +0900570 android:theme="@*android:style/Theme.DeviceDefault.QuickSettings.Dialog"
Alan Viverette5a399492014-07-14 16:19:38 -0700571 android:finishOnCloseSystemDialogs="true"
572 android:launchMode="singleInstance"
573 android:excludeFromRecents="true"
574 android:exported="true">
575 <intent-filter>
Peeyush Agarwald8d1e192017-03-24 14:56:01 +0000576 <action android:name="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG" />
Alan Viverette5a399492014-07-14 16:19:38 -0700577 <category android:name="android.intent.category.DEFAULT" />
578 </intent-filter>
579 </activity>
John Spurlockbf370992014-06-17 13:58:31 -0400580
Dianne Hackborn83b40f62017-04-26 13:59:47 -0700581 <activity android:name=".ForegroundServicesDialog"
582 android:process=":fgservices"
583 android:excludeFromRecents="true"
584 android:launchMode="singleTop"
585 android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog">
586 <intent-filter android:priority="1">
587 <action android:name="android.settings.FOREGROUND_SERVICES_SETTINGS" />
588 <category android:name="android.intent.category.DEFAULT" />
589 </intent-filter>
590 </activity>
591
Alison Cichowlas3e340502018-08-07 17:15:01 -0400592 <activity android:name=".chooser.ChooserActivity"
593 android:theme="@*android:style/Theme.NoDisplay"
594 android:finishOnCloseSystemDialogs="true"
595 android:excludeFromRecents="true"
596 android:documentLaunchMode="never"
597 android:relinquishTaskIdentity="true"
598 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
599 android:process=":ui"
600 android:visibleToInstantApps="true">
Alison Cichowlas3e340502018-08-07 17:15:01 -0400601 </activity>
602
John Spurlockc6eed842014-08-25 12:19:41 -0400603 <!-- Doze with notifications, run in main sysui process for every user -->
John Spurlockbf370992014-06-17 13:58:31 -0400604 <service
605 android:name=".doze.DozeService"
John Spurlockeb8d1be2014-06-25 17:46:15 -0400606 android:exported="true"
John Spurlockc6eed842014-08-25 12:19:41 -0400607 android:singleUser="true"
John Spurlockeb8d1be2014-06-25 17:46:15 -0400608 android:permission="android.permission.BIND_DREAM_SERVICE" />
Jason Monk431ad732015-07-16 08:58:15 -0400609
610 <receiver
611 android:name=".tuner.TunerService$ClearReceiver"
612 android:exported="false">
613 <intent-filter>
614 <action android:name="com.android.systemui.action.CLEAR_TUNER" />
615 </intent-filter>
616 </receiver>
Clara Bayarrieb3c2d32016-04-01 14:37:32 +0100617
Adrian Roos91250682017-02-06 14:48:15 -0800618 <provider
Aurimas Liutikasfd52c142018-04-17 09:50:46 -0700619 android:name="androidx.core.content.FileProvider"
Adrian Roos91250682017-02-06 14:48:15 -0800620 android:authorities="com.android.systemui.fileprovider"
621 android:exported="false"
622 android:grantUriPermissions="true">
623 <meta-data
624 android:name="android.support.FILE_PROVIDER_PATHS"
625 android:resource="@xml/fileprovider" />
626 </provider>
627
Lucas Dupin957e50c2017-10-10 11:23:27 -0700628 <provider android:name=".keyguard.KeyguardSliceProvider"
629 android:authorities="com.android.systemui.keyguard"
Jason Monke8f8be72018-01-21 10:10:35 -0500630 android:grantUriPermissions="true"
Lucas Dupin957e50c2017-10-10 11:23:27 -0700631 android:exported="true">
632 </provider>
633
Clara Bayarrieb3c2d32016-04-01 14:37:32 +0100634 <receiver
635 android:name=".statusbar.KeyboardShortcutsReceiver">
636 <intent-filter>
Peeyush Agarwald8d1e192017-03-24 14:56:01 +0000637 <action android:name="com.android.intent.action.DISMISS_KEYBOARD_SHORTCUTS" />
638 <action android:name="com.android.intent.action.SHOW_KEYBOARD_SHORTCUTS" />
Clara Bayarrieb3c2d32016-04-01 14:37:32 +0100639 </intent-filter>
640 </receiver>
Dan Sandler4d90d1e2018-03-23 16:29:06 -0400641
Joe Onorato2314aab2010-04-08 16:41:23 -0500642 </application>
643</manifest>