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

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <!-- To handle the reselection within the app on Android 14 (API level 34) -->
    <uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
    <application>

        <provider
            android:name=".provider.CameraFileProvider"
            android:authorities="${applicationId}.app.file.provider"
            android:exported="false"
            android:grantUriPermissions="true"
            android:multiprocess="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/album_camera_provider" />
        </provider>

        <activity
            android:name="com.sobot.album.activity.CameraActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />

        <activity
            android:name="com.sobot.album.activity.SobotAlbumActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />

        <activity
            android:name="com.sobot.album.activity.DefineStyleActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />

        <activity
            android:name="com.sobot.album.activity.GalleryActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait" />

        <activity
            android:name="com.sobot.album.activity.AlbumFilterActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />
        <activity
            android:name="com.sobot.album.app.album.AlbumActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />
        <activity
            android:name="com.sobot.album.app.album.GalleryActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />
        <activity
            android:name="com.sobot.album.app.album.NullActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />
        <activity
            android:name="com.sobot.album.app.gallery.GalleryAlbumActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />
    </application>

</manifest>