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

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

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme.Dark">
        <activity
            android:name="org.mosad.teapod.ui.activity.SplashActivity"
            android:label="@string/app_name"
            android:theme="@style/SplashTheme"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="org.mosad.teapod.ui.activity.onboarding.OnboardingActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:launchMode="singleTop"
            android:windowSoftInputMode="adjustPan">
        </activity>
        <activity
            android:name="org.mosad.teapod.ui.activity.main.MainActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait">
        </activity>
        <activity
            android:name="org.mosad.teapod.ui.activity.player.PlayerActivity"
            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|layoutDirection"
            android:autoRemoveFromRecents="true"
            android:label="@string/app_name"
            android:launchMode="singleTask"
            android:parentActivityName="org.mosad.teapod.ui.activity.main.MainActivity"
            android:supportsPictureInPicture="true"
            android:taskAffinity=".player.PlayerActivity"
            android:theme="@style/PlayerTheme"
            tools:targetApi="n" />
    </application>

</manifest>