1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 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
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:tools="http://schemas.android.com/tools">
20
21    <application
22        android:allowBackup="false"
23        android:label="@string/app_name"
24        android:supportsRtl="true"
25        tools:ignore="MissingApplicationIcon,MissingTvBanner">
26
27        <!-- Profileable to enable macrobenchmark profiling -->
28        <profileable android:shell="true" />
29
30        <!-- Activities need to be exported so the macrobenchmark can discover them. -->
31        <activity
32            android:name=".StartupActivity"
33            android:exported="true">
34            <intent-filter>
35                <action android:name="android.intent.action.MAIN" />
36                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
37            </intent-filter>
38            <intent-filter>
39                <action android:name="androidx.tv.integration.macrobenchmark.target.STARTUP_ACTIVITY" />
40                <category android:name="android.intent.category.DEFAULT" />
41            </intent-filter>
42        </activity>
43
44    </application>
45
46    <uses-feature
47        android:name="android.software.leanback"
48        android:required="true" />
49
50    <uses-feature
51        android:name="android.hardware.touchscreen"
52        android:required="false" />
53
54</manifest>