1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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 24 <original-package android:name="com.android.systemui"/> 25 26 <uses-permission android:name="android.permission.BROADCAST_OPTION_INTERACTIVE" /> 27 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> 28 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> 29 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" /> 30 <uses-permission android:name="android.permission.MANAGE_SENSOR_PRIVACY" /> 31 <uses-permission android:name="android.permission.MANAGE_USB" /> 32 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" /> 33 <uses-permission android:name="android.permission.HDMI_CEC" /> 34 35 <application 36 android:appComponentFactory="com.android.systemui.tv.TvSystemUIAppComponentFactory" 37 tools:replace="android:appComponentFactory"> 38 39 <!-- started from HdmiCecLocalDevicePlayback --> 40 <activity 41 android:name=".tv.hdmi.HdmiCecSetMenuLanguageActivity" 42 android:excludeFromRecents="true" 43 android:exported="true" 44 android:finishOnCloseSystemDialogs="true" 45 android:launchMode="singleTop" 46 android:permission="android.permission.CHANGE_CONFIGURATION" 47 android:theme="@style/BottomSheet" /> 48 49 <!-- started from HdmiCecLocalDevicePlayback --> 50 <activity android:name=".tv.hdmi.HdmiCecActiveSourceLostActivity" 51 android:exported="true" 52 android:launchMode="singleTop" 53 android:permission="android.permission.HDMI_CEC" 54 android:theme="@style/BottomSheet" 55 android:finishOnCloseSystemDialogs="true" 56 android:showForAllUsers="true"> 57 </activity> 58 59 <!-- started from TvNotificationPanel --> 60 <activity 61 android:name=".tv.notifications.TvNotificationPanelActivity" 62 android:excludeFromRecents="true" 63 android:launchMode="singleTask" 64 android:noHistory="true" 65 android:theme="@style/TvSidePanelTheme" /> 66 67 <!-- started from SensoryPrivacyService --> 68 <activity 69 android:name=".tv.sensorprivacy.TvSensorPrivacyChangedActivity" 70 android:exported="true" 71 android:finishOnCloseSystemDialogs="true" 72 android:launchMode="singleTop" 73 android:permission="android.permission.MANAGE_SENSOR_PRIVACY" 74 android:showForAllUsers="true" 75 android:theme="@style/BottomSheet" /> 76 77 <!-- started from SensoryPrivacyService --> 78 <activity 79 android:name=".tv.sensorprivacy.TvUnblockSensorActivity" 80 android:exported="true" 81 android:finishOnCloseSystemDialogs="true" 82 android:launchMode="singleTop" 83 android:permission="android.permission.MANAGE_SENSOR_PRIVACY" 84 android:showForAllUsers="true" 85 android:theme="@style/BottomSheet" /> 86 87 <!-- started from UsbDeviceSettingsManager --> 88 <activity 89 android:name=".tv.usb.TvUsbConfirmActivity" 90 android:excludeFromRecents="true" 91 android:exported="true" 92 android:finishOnCloseSystemDialogs="true" 93 android:launchMode="singleTop" 94 android:permission="android.permission.MANAGE_USB" 95 android:theme="@style/BottomSheet" /> 96 97 <!-- started from UsbDeviceSettingsManager --> 98 <activity 99 android:name=".tv.usb.TvUsbPermissionActivity" 100 android:excludeFromRecents="true" 101 android:exported="true" 102 android:finishOnCloseSystemDialogs="true" 103 android:launchMode="singleTop" 104 android:permission="android.permission.MANAGE_USB" 105 android:theme="@style/BottomSheet" /> 106 107 <!-- started from TvMediaOutputDialogFactory --> 108 <activity android:name=".tv.media.TvMediaOutputDialogActivity" 109 android:excludeFromRecents="true" 110 android:exported="true" 111 android:finishOnCloseSystemDialogs="true" 112 android:launchMode="singleTop" 113 android:theme="@style/SidePanel"> 114 <intent-filter> 115 <action android:name="com.android.systemui.TV_MEDIA_OUTPUT_DIALOG" /> 116 <category android:name="android.intent.category.DEFAULT" /> 117 </intent-filter> 118 </activity> 119 120 </application> 121</manifest> 122