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

    <uses-permission android:name="android.permission.INTERNET"/>
    <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=".App"
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher"
        android:theme="@style/Theme.Scrcpy"
        android:allowBackup="false"
        android:supportsRtl="false">

        <activity
            android:name=".Main"
            android:exported="true"
            android:theme="@style/Theme.Scrcpy.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity
            android:name=".Mirror"
            android:exported="false"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:screenOrientation="unspecified"
            android:hardwareAccelerated="true"
            android:theme="@style/Theme.Scrcpy.Fullscreen"/>

        <activity
            android:name=".SettingsActivity"
            android:exported="false"
            android:label="@string/settings"/>

        <service
            android:name=".Sessions"
            android:exported="false"
            android:foregroundServiceType="dataSync"/>

    </application>

</manifest>
