1<!--
2  ~ Copyright 2020 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<manifest
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:tools="http://schemas.android.com/tools">
19
20    <application
21        android:label="Profileinstaller Macrobenchmark Target"
22        android:allowBackup="false"
23        android:supportsRtl="true"
24        tools:ignore="MissingApplicationIcon">
25
26        <!-- Profileable to enable macrobenchmark profiling -->
27        <profileable android:shell="true"/>
28
29        <!--
30        Activities need to be exported so the macrobenchmark can discover them
31        under the new package visibility changes for Android 11.
32         -->
33        <activity
34            android:name=".SimpleTextActivity"
35            android:exported="true">
36            <intent-filter>
37                <action android:name="android.intent.action.MAIN" />
38                <category android:name="android.intent.category.LAUNCHER" />
39            </intent-filter>
40            <intent-filter>
41                <action android:name="profileinstaller.init.macrobenchmark.TARGET" />
42                <category android:name="android.intent.category.DEFAULT" />
43            </intent-filter>
44        </activity>
45    </application>
46</manifest>
47