<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (c) MediaArea.net SARL. All Rights Reserved.

      Use of this source code is governed by a BSD-style license that can
      be found in the License.html file in the root of the source tree.
-->
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission android:name="com.android.vending.BILLING" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="20" />
    <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />

    <application
        android:name=".MediaInfoApplication"
        android:allowBackup="true"
        android:supportsRtl="true"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:theme="@style/AppTheme"
        android:label="@string/app_name">

        <activity
            android:name=".ReportListActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:configChanges="locale|layoutDirection"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="content" android:mimeType="audio/*" />
                <data android:scheme="content" android:mimeType="image/*" />
                <data android:scheme="content" android:mimeType="video/*" />
                <data android:scheme="content" android:mimeType="application/acad" />
                <data android:scheme="content" android:mimeType="application/dash+xml" />
                <data android:scheme="content" android:mimeType="application/dwg" />
                <data android:scheme="content" android:mimeType="application/gxf" />
                <data android:scheme="content" android:mimeType="application/mxf" />
                <data android:scheme="content" android:mimeType="application/ogg" />
                <data android:scheme="content" android:mimeType="application/ram" />
                <data android:scheme="content" android:mimeType="application/ttml+xml" />
                <data android:scheme="content" android:mimeType="application/vnd.ms-asf" />
                <data android:scheme="content" android:mimeType="application/vnd.rn-realmedia" />
                <data android:scheme="content" android:mimeType="application/x-blender" />
                <data android:scheme="content" android:mimeType="application/x-cd-image" />
                <data android:scheme="content" android:mimeType="application/x-flac" />
                <data android:scheme="content" android:mimeType="application/x-matroska" />
                <data android:scheme="content" android:mimeType="application/x-ogg" />
                <data android:scheme="content" android:mimeType="application/x-sami" />
                <data android:scheme="content" android:mimeType="application/x-shockwave" />
                <data android:scheme="content" android:mimeType="application/x-shockwave-flash" />
                <data android:scheme="content" android:mimeType="application/x-subrip" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" android:mimeType="audio/*" />
                <data android:scheme="file" android:mimeType="image/*" />
                <data android:scheme="file" android:mimeType="video/*" />
                <data android:scheme="file" android:mimeType="application/acad" />
                <data android:scheme="file" android:mimeType="application/dash+xml" />
                <data android:scheme="file" android:mimeType="application/dwg" />
                <data android:scheme="file" android:mimeType="application/gxf" />
                <data android:scheme="file" android:mimeType="application/mxf" />
                <data android:scheme="file" android:mimeType="application/ogg" />
                <data android:scheme="file" android:mimeType="application/ram" />
                <data android:scheme="file" android:mimeType="application/ttml+xml" />
                <data android:scheme="file" android:mimeType="application/vnd.ms-asf" />
                <data android:scheme="file" android:mimeType="application/vnd.rn-realmedia" />
                <data android:scheme="file" android:mimeType="application/x-blender" />
                <data android:scheme="file" android:mimeType="application/x-cd-image" />
                <data android:scheme="file" android:mimeType="application/x-flac" />
                <data android:scheme="file" android:mimeType="application/x-matroska" />
                <data android:scheme="file" android:mimeType="application/x-ogg" />
                <data android:scheme="file" android:mimeType="application/x-sami" />
                <data android:scheme="file" android:mimeType="application/x-shockwave" />
                <data android:scheme="file" android:mimeType="application/x-shockwave-flash" />
                <data android:scheme="file" android:mimeType="application/x-subrip" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="audio/*" />
                <data android:mimeType="image/*" />
                <data android:mimeType="video/*" />
                <data android:mimeType="application/acad" />
                <data android:mimeType="application/dash+xml" />
                <data android:mimeType="application/dwg" />
                <data android:mimeType="application/gxf" />
                <data android:mimeType="application/mxf" />
                <data android:mimeType="application/ogg" />
                <data android:mimeType="application/ram" />
                <data android:mimeType="application/ttml+xml" />
                <data android:mimeType="application/vnd.ms-asf" />
                <data android:mimeType="application/vnd.rn-realmedia" />
                <data android:mimeType="application/x-blender" />
                <data android:mimeType="application/x-cd-image" />
                <data android:mimeType="application/x-flac" />
                <data android:mimeType="application/x-matroska" />
                <data android:mimeType="application/x-ogg" />
                <data android:mimeType="application/x-sami" />
                <data android:mimeType="application/x-shockwave" />
                <data android:mimeType="application/x-shockwave-flash" />
                <data android:mimeType="application/x-subrip" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEND_MULTIPLE" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="audio/*" />
                <data android:mimeType="image/*" />
                <data android:mimeType="video/*" />
                <data android:mimeType="application/acad" />
                <data android:mimeType="application/dash+xml" />
                <data android:mimeType="application/dwg" />
                <data android:mimeType="application/gxf" />
                <data android:mimeType="application/mxf" />
                <data android:mimeType="application/ogg" />
                <data android:mimeType="application/ram" />
                <data android:mimeType="application/ttml+xml" />
                <data android:mimeType="application/vnd.ms-asf" />
                <data android:mimeType="application/vnd.rn-realmedia" />
                <data android:mimeType="application/x-blender" />
                <data android:mimeType="application/x-cd-image" />
                <data android:mimeType="application/x-flac" />
                <data android:mimeType="application/x-matroska" />
                <data android:mimeType="application/x-ogg" />
                <data android:mimeType="application/x-sami" />
                <data android:mimeType="application/x-shockwave" />
                <data android:mimeType="application/x-shockwave-flash" />
                <data android:mimeType="application/x-subrip" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ReportDetailActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:configChanges="locale|layoutDirection">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="net.mediaarea.mediainfo.ReportListActivity" />
        </activity>
        <activity
            android:name=".AboutActivity"
            android:label="@string/about_title"
            android:theme="@style/AppTheme.NoActionBar"
            android:configChanges="locale|layoutDirection">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="net.mediaarea.mediainfo.ReportListActivity" />
        </activity>
        <activity
            android:name=".SubscribeActivity"
            android:label="@string/subscribe_title"
            android:theme="@style/AppTheme.NoActionBar"
            android:configChanges="locale|layoutDirection">
        </activity>
        <activity
            android:name=".SettingsActivity"
            android:label="@string/settings_title"
            android:theme="@style/AppTheme.NoActionBar"
            android:configChanges="locale|layoutDirection">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="net.mediaarea.mediainfo.ReportListActivity" />
        </activity>
    </application>

</manifest>