<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <application
        android:name="co.electriccoin.zcash.app.ZcashApplication"
        android:allowBackup="false"
        android:label="@string/app_name">

        <!-- Alias acts as the entrypoint to the application.
             Using an alias ensures we can refactor the actual Activity without breaking
             clients. -->
        <activity-alias
            android:name="co.electricoin.zcash.LauncherActivity"
            android:exported="true"
            android:label="@string/app_name"
            android:targetActivity="co.electriccoin.zcash.ui.MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity-alias>

        <!-- Enable profiling by benchmark -->
        <profileable
            android:shell="true"
            tools:targetApi="29" />

        <!-- To bypass "The DROP_SHADER_CACHE broadcast was not received." error while benchmarking the app. See
        https://issuetracker.google.com/issues/258619948 -->
        <receiver
            android:name="androidx.profileinstaller.ProfileInstallReceiver"
            android:permission="android.permission.DUMP"
            android:exported="true">
            <intent-filter>
                <action
                    android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION" />
            </intent-filter>
        </receiver>

    </application>

</manifest>
