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="Emoji2 Init Enabled Macrobenchmark Target" 22 android:allowBackup="false" 23 android:supportsRtl="true" 24 android:theme="@style/Theme.AppCompat" 25 tools:ignore="MissingApplicationIcon"> 26 27 <!-- Profileable to enable macrobenchmark profiling --> 28 <profileable android:shell="true"/> 29 30 <!-- 31 Activities need to be exported so the macrobenchmark can discover them 32 under the new package visibility changes for Android 11. 33 --> 34 <activity 35 android:name=".SimpleTextActivity" 36 android:exported="true"> 37 <intent-filter> 38 <action android:name="android.intent.action.MAIN" /> 39 <category android:name="android.intent.category.LAUNCHER" /> 40 </intent-filter> 41 <intent-filter> 42 <action android:name="androidx.emoji2.integration.macrobenchmark.disabled.target.MAIN" /> 43 <category android:name="android.intent.category.DEFAULT" /> 44 </intent-filter> 45 </activity> 46 <provider 47 android:name="androidx.startup.InitializationProvider" 48 android:authorities="${applicationId}.androidx-startup" 49 android:exported="false" 50 tools:node="merge"> 51 <meta-data android:name="androidx.emoji2.text.EmojiCompatInitializer" 52 tools:node="remove" /> 53 </provider> 54 </application> 55</manifest> 56