1<!-- 2 ~ Copyright (C) 2024 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="Jetpack Activity Macrobenchmark Target" 22 android:allowBackup="false" 23 android:supportsRtl="true" 24 tools:ignore="GoogleAppIndexingWarning"> 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 32 Feel free to add the launcher intent filter to enable easier profiling, 33 just be sure to add a consistent label. 34 --> 35 <activity 36 android:name=".OnBackPressedDispatcherInOnCreateActivity" 37 android:exported="true"> 38 <intent-filter> 39 <action android:name="android.intent.action.MAIN" /> 40 <category android:name="android.intent.category.LAUNCHER" /> 41 </intent-filter> 42 <intent-filter> 43 <action android:name="androidx.compose.integration.macrobenchmark.target.ON_BACK_PRESSED_DISPATCHER_IN_ON_CREATE_ACTIVITY" /> 44 <category android:name="android.intent.category.DEFAULT" /> 45 </intent-filter> 46 </activity> 47 </application> 48</manifest> 49