AndroidManifest.xml 4.13 KB
Newer Older
zhengnw@sobot.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
<?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.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" />
郭倩芳 committed
67 68 69 70 71
        <activity
            android:name="com.sobot.album.app.preview.PreviewAlbumActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|touchscreen|navigation|locale|fontScale|uiMode|screenLayout|smallestScreenSize"
            android:screenOrientation="portrait"
            android:theme="@style/sobot_activity_def_theme" />
zhengnw@sobot.com committed
72 73 74
    </application>

</manifest>