<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="org.dolphinemu.dolphinemu">

    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false"/>
    <uses-feature
        android:name="android.hardware.gamepad"
        android:required="false"/>
    <uses-feature
        android:name="android.software.leanback"
        android:required="false"/>

    <uses-feature android:glEsVersion="0x00030000" />

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.INTERNET" />

    <application
        android:name=".DolphinApplication"
        android:label="@string/app_name"
        android:icon="@drawable/ic_launcher"
        android:allowBackup="true"
        android:supportsRtl="true"
        android:isGame="true"
        android:banner="@drawable/banner_tv">

        <activity
            android:name=".ui.main.MainActivity"
            android:theme="@style/DolphinGamecube">

            <!-- This intentfilter marks this Activity as the one that gets launched from Home screen. -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity
            android:name=".ui.main.TvMainActivity"
            android:theme="@style/DolphinTvGamecube">

            <!-- This intentfilter marks this Activity as the one that gets launched from Home screen. -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity
            android:name=".activities.AddDirectoryActivity"
            android:theme="@style/DolphinGamecube"
            android:label="@string/add_directory_title"/>

        <activity
            android:name=".activities.SettingsActivity"
            android:theme="@style/DolphinSettingsGamecube"
            android:label="@string/grid_menu_settings"/>

        <activity
            android:name=".activities.EmulationActivity"
            android:theme="@style/DolphinEmulationGamecube"/>

        <activity
            android:name=".activities.OverlayConfigActivity"
            android:theme="@style/DolphinSettingsGamecube"/>


        <service android:name=".services.AssetCopyService"/>

        <service android:name=".services.SettingsSaveService"/>

        <provider
            android:name=".model.GameProvider"
            android:authorities="${applicationId}.provider"
            android:enabled="true"
            android:exported="false">
        </provider>

    </application>

</manifest>

