1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2018 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" 19 xmlns:tools="http://schemas.android.com/tools" 20 package="com.android.systemui" 21 android:sharedUserId="android.uid.systemui" 22 coreApp="true"> 23 <!-- This permission is required to monitor car power state. --> 24 <uses-permission android:name="android.car.permission.CAR_POWER" /> 25 <!-- This permission is required to get the trusted device list of a user. --> 26 <uses-permission android:name="android.car.permission.CAR_ENROLL_TRUST"/> 27 <!-- This permission is required to use EVS. --> 28 <uses-permission android:name="android.car.permission.CONTROL_CAR_EVS_ACTIVITY" /> 29 <uses-permission android:name="android.car.permission.MONITOR_CAR_EVS_STATUS" /> 30 <!-- This permission is required to use ClusterHomeManager. --> 31 <uses-permission android:name="android.car.permission.CAR_INSTRUMENT_CLUSTER_CONTROL" /> 32 <!-- This permission is required to use CarOccupantZoneManager. --> 33 <uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_SETTINGS" /> 34 <!-- This permission is required to get bluetooth broadcast. --> 35 <uses-permission android:name="android.permission.BLUETOOTH" /> 36 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 37 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> 38 <uses-permission android:name="android.permission.BLUETOOTH_SCAN" /> 39 <!-- This permission is required to access app information from other users. --> 40 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> 41 <!-- This permission is required to check the foreground user id. --> 42 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 43 <!-- This permission is required to get the tasks from CarActivityService. --> 44 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" /> 45 <!-- These permissions are required to implement icons based on role holders. --> 46 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS"/> 47 <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS"/> 48 <!-- This permission is required to observe microphone sensor privacy changes. --> 49 <uses-permission android:name="android.permission.OBSERVE_SENSOR_PRIVACY" /> 50 <!-- Permission for read-only access to phone state, namely the status of any ongoing calls --> 51 <uses-permission android:name="android.permission.READ_PHONE_STATE"/> 52 <!-- This permission is required to register the car system ui proxy --> 53 <uses-permission android:name="android.car.permission.REGISTER_CAR_SYSTEM_UI_PROXY"/> 54 <!-- This permission is required to listen to the keyguard state --> 55 <uses-permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" /> 56 <!-- This permission is required to create a CarTaskViewController --> 57 <uses-permission android:name="android.car.permission.MANAGE_CAR_SYSTEM_UI"/> 58 <!-- use for ActivityBlockingActivity to tell whether it's on driver or passenger display --> 59 <uses-permission android:name="android.car.permission.ACCESS_PRIVATE_DISPLAY_ID"/> 60 <!-- use for querying DisplayCompat packages --> 61 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> 62 <uses-permission android:name="android.car.permission.MANAGE_DISPLAY_COMPATIBILITY"/> 63 <!-- Permission to allow receiving broadcast events for the dock --> 64 <uses-permission android:name="com.android.car.docklib.permission.BROADCAST_RECEIVER" /> 65 <!-- Permissions for the InCallController to bind the InCallService as non-ui --> 66 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/> 67 <uses-permission android:name="android.permission.MANAGE_ONGOING_CALLS"/> 68 <!-- System permission to control media playback of the active session --> 69 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL"/> 70 71 <application 72 tools:replace="android:name,android:appComponentFactory" 73 android:name=".CarSystemUIApplication" 74 android:appComponentFactory="com.android.systemui.CarSystemUIAppComponentFactory"> 75 <activity 76 android:name=".car.wm.activity.ActivityBlockingActivity" 77 android:documentLaunchMode="always" 78 android:excludeFromRecents="true" 79 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" 80 android:exported="false" 81 android:showForAllUsers="true" 82 android:theme="@android:style/Theme.NoTitleBar"> 83 <intent-filter> 84 <action android:name="android.intent.action.MAIN"/> 85 </intent-filter> 86 </activity> 87 <activity 88 android:name=".car.wm.activity.ContinuousBlankActivity" 89 android:excludeFromRecents="true" 90 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 91 android:exported="false" 92 android:launchMode="singleTask"> 93 </activity> 94 <activity 95 android:name=".car.wm.activity.LaunchOnPrivateDisplayRouterActivity" 96 android:excludeFromRecents="true" 97 android:exported="true" 98 android:label="LaunchOnPrivateDisplayRouterActivity" 99 android:launchMode="singleInstance" 100 android:noHistory="true" 101 android:permission="android.car.permission.ACCESS_PRIVATE_DISPLAY_ID" 102 android:theme="@android:style/Theme.Translucent.NoTitleBar"/> 103 <activity 104 android:name=".car.userpicker.UserPickerActivity" 105 android:label="UserPicker" 106 android:icon="@drawable/ic_user_picker" 107 android:launchMode="singleInstancePerTask" 108 android:documentLaunchMode="intoExisting" 109 android:showForAllUsers="true" 110 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|locale|density|layoutDirection" 111 android:exported="true" 112 android:excludeFromRecents="true" 113 android:directBootAware="true" 114 android:enableOnBackInvokedCallback="true" 115 android:theme="@style/Theme.UserPicker"> 116 <intent-filter> 117 <action android:name="android.intent.action.MAIN" /> 118 </intent-filter> 119 <meta-data android:name="distractionOptimized" android:value="true"/> 120 </activity> 121 <!-- The service needs to be directBootAware so that it can reflect the correct call state 122 when the system boots up. --> 123 <service android:name=".car.telecom.InCallServiceImpl" 124 android:directBootAware="true" 125 android:permission="android.permission.BIND_INCALL_SERVICE" 126 android:exported="true" 127 android:singleUser="true" 128 android:enabled="@bool/config_enableAppBlockingActivities"> 129 <!-- ABA does not display the in-call UI. This is handled by the 130 Dialer application.--> 131 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="false"/> 132 <meta-data android:name="android.telecom.IN_CALL_SERVICE_CAR_MODE_UI" 133 android:value="false"/> 134 <meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS" 135 android:value="true"/> 136 <intent-filter> 137 <action android:name="android.telecom.InCallService"/> 138 </intent-filter> 139 </service> 140 </application> 141</manifest> 142