1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2021 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
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:tools="http://schemas.android.com/tools">
21
22    <application
23        android:label="Wear Compose Macrobenchmark Target"
24        android:allowBackup="false"
25        android:supportsRtl="true"
26        android:theme="@android:style/Theme.DeviceDefault"
27        tools:ignore="MissingApplicationIcon">
28
29        <!-- Profileable to enable macrobenchmark profiling -->
30        <profileable android:shell="true"/>
31
32        <!--
33        Activities need to be exported so the macrobenchmark can discover them
34        under the new package visibility changes for Android 11.
35         -->
36        <activity
37            android:name=".StartupActivity"
38            android:exported="true">
39            <intent-filter>
40                <action
41                  android:name=
42                    "androidx.wear.compose.integration.macrobenchmark.target.WEAR_STARTUP_ACTIVITY">
43                </action>
44                <category android:name="android.intent.category.DEFAULT" />
45            </intent-filter>
46        </activity>
47
48        <activity
49            android:name=".AlertDialogActivity"
50            android:theme="@style/AppTheme"
51            android:exported="true">
52            <intent-filter>
53                <action android:name=
54                    "androidx.wear.compose.integration.macrobenchmark.target.ALERT_DIALOG_ACTIVITY" />
55                <category android:name="android.intent.category.DEFAULT" />
56            </intent-filter>
57        </activity>
58
59        <activity
60            android:name=".ConfirmationDialogActivity"
61            android:theme="@style/AppTheme"
62            android:exported="true">
63            <intent-filter>
64                <action android:name=
65                    "androidx.wear.compose.integration.macrobenchmark.target.CONFIRMATION_DIALOG_ACTIVITY" />
66                <category android:name="android.intent.category.DEFAULT" />
67            </intent-filter>
68        </activity>
69
70        <activity
71            android:name=".SwipeToDismissActivity"
72            android:theme="@style/AppTheme"
73            android:exported="true">
74            <intent-filter>
75                <action android:name=
76                    "androidx.wear.compose.integration.macrobenchmark.target.SWIPE_TO_DISMISS_ACTIVITY" />
77                <category android:name="android.intent.category.DEFAULT" />
78            </intent-filter>
79        </activity>
80
81        <activity
82            android:name=".SwipeToRevealActivity"
83            android:theme="@style/AppTheme"
84            android:exported="true">
85            <intent-filter>
86                <action android:name=
87                    "androidx.wear.compose.integration.macrobenchmark.target.SWIPE_TO_REVEAL_ACTIVITY" />
88                <category android:name="android.intent.category.DEFAULT" />
89            </intent-filter>
90        </activity>
91
92        <activity
93            android:name=".ScrollActivity"
94            android:theme="@style/AppTheme"
95            android:exported="true">
96            <intent-filter>
97                <action android:name=
98                    "androidx.wear.compose.integration.macrobenchmark.target.SCROLL_ACTIVITY" />
99                <category android:name="android.intent.category.DEFAULT" />
100            </intent-filter>
101        </activity>
102
103        <activity
104            android:name=".BaselineActivity"
105            android:theme="@style/AppTheme"
106            android:exported="true">
107            <intent-filter>
108                <action android:name="android.intent.action.MAIN" />
109                <category android:name="android.intent.category.LAUNCHER" />
110            </intent-filter>
111            <intent-filter>
112                <action android:name=
113                    "androidx.wear.compose.integration.macrobenchmark.target.BASELINE_ACTIVITY" />
114                <category android:name="android.intent.category.DEFAULT" />
115            </intent-filter>
116        </activity>
117
118        <activity
119            android:name=".PositionIndicatorActivity"
120            android:theme="@style/AppTheme"
121            android:exported="true">
122            <intent-filter>
123                <action android:name=
124                    "androidx.wear.compose.integration.macrobenchmark.target.POSITION_INDICATOR_ACTIVITY" />
125                <category android:name="android.intent.category.DEFAULT" />
126            </intent-filter>
127        </activity>
128    </application>
129
130    <uses-permission android:name="android.permission.WAKE_LOCK" />
131
132</manifest>