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

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

    <application
        android:name=".PurefinApplication"
        android:allowBackup="true"
        android:screenOrientation="portrait"
        android:dataExtractionRules="@xml/data_extraction_rules"
        android:fullBackupContent="@xml/backup_rules"
        android:icon="@mipmap/purefin_logo"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/purefin_logo_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.Purefin">
        <activity
            android:name=".PurefinActivity"
            android:exported="true"
            android:label="@string/app_name"
            android:theme="@style/Theme.Purefin">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".player.PlayerActivity"
            android:screenOrientation="landscape"
            android:exported="false"
            android:theme="@style/Theme.Purefin" />
        <service
            android:name="hu.bbara.purefin.feature.download.PurefinDownloadService"
            android:exported="false"
            android:foregroundServiceType="dataSync" />
    </application>

</manifest>
