1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2023 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
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    android:sharedUserId="android.uid.system"
21    package="com.android.systemui.tv.tests">
22
23    <application
24        android:appComponentFactory="com.android.systemui.tv.TvSystemUIAppComponentFactory"
25        android:debuggable="true"
26        android:enableOnBackInvokedCallback="true"
27        android:largeHeap="true"
28        android:testOnly="true"
29        tools:replace="android:appComponentFactory">
30        <uses-library android:name="android.test.runner" />
31
32        <!-- Disable the providers from SystemUI -->
33        <provider
34            android:name="com.android.systemui.people.PeopleProvider"
35            android:authorities="${applicationId}.people.disabled"
36            android:enabled="false"
37            android:exported="true"
38            tools:node="remove"
39            tools:replace="android:authorities" />
40        <provider
41            android:name="androidx.core.content.FileProvider"
42            android:authorities="${applicationId}.fileprovider.disabled"
43            android:enabled="false"
44            tools:node="remove"
45            tools:replace="android:authorities" />
46        <provider
47            android:name="com.android.systemui.keyguard.KeyguardSliceProvider"
48            android:authorities="${applicationId}.keyguard.disabled"
49            android:enabled="false"
50            tools:node="remove"
51            tools:replace="android:authorities" />
52        <provider
53            android:name="com.android.systemui.keyguard.CustomizationProvider"
54            android:authorities="${applicationId}.keyguard.quickaffordance.disabled"
55            android:enabled="false"
56            tools:node="remove"
57            tools:replace="android:authorities" />
58    </application>
59
60    <instrumentation
61        android:name="android.testing.TestableInstrumentation"
62        android:label="Tests for TvSystemUI"
63        android:targetPackage="com.android.systemui.tv.tests" />
64
65</manifest>