<commit_before><?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="ee.ria.DigiDoc">

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

    <!-- Needed for Android SDK 21+ -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <application
        android:name=".android.Application"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:usesCleartextTraffic="true"
        android:label="@string/application_name"
        android:theme="@style/Theme.Application.Launch">

        <activity
            android:name=".android.Activity"
            android:exported="true" />

        <activity-alias
            android:name="LauncherActivity"
            android:targetActivity=".android.Activity">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            <intent-filter tools:ignore="AppLinkUrlError">
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="application/octet-stream" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/*" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/*" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="video/*" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="application/*" />
            </intent-filter>

        </activity-alias>

        <provider
            android:name="android.support.v4.content.FileProvider"
            android:authorities="@string/file_provider_authority"
            android:exported="false"
            android:grantUriPermissions="true">

            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_provider_paths" />

        </provider>

    </application>

</manifest><commit_msg>MOPPAND-431 - Open files support<commit_after><?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="ee.ria.DigiDoc">

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

    <!-- Needed for Android SDK 21+ -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <application
        android:name=".android.Application"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:usesCleartextTraffic="true"
        android:label="@string/application_name"
        android:theme="@style/Theme.Application.Launch">

        <activity
            android:name=".android.Activity"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.intent.action.SEND"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <data android:mimeType="*/*"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.GET_CONTENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.OPENABLE" />
                <data android:mimeType="*/*" />
            </intent-filter>
        </activity>

        <activity-alias
            android:name="LauncherActivity"
            android:targetActivity=".android.Activity">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            <intent-filter tools:ignore="AppLinkUrlError">
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="application/octet-stream" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/*" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/*" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="video/*" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="application/*" />
            </intent-filter>

        </activity-alias>

        <activity-alias
            android:name=".ui.activity.MainActivity.OPEN_ALL"
            android:label="@string/application_name"
            android:targetActivity=".android.Activity"
            tools:ignore="AppLinkUrlError">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT" />

                <data android:host="*" />
                <data android:scheme="content" />
                <data android:scheme="file" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data android:mimeType="application/x-cdoc" />
                <data android:mimeType="application/x-p12d" />
                <data android:mimeType="application/vnd.lt.archyvai.adoc-2008" />

                <data android:mimeType="application/x-ddoc" />
                <data android:mimeType="application/vnd.etsi.asic-s+zip" />

                <data android:mimeType="application/vnd.etsi.asic-e+zip" />
                <data android:mimeType="application/x-zip" />

                <data android:mimeType="application/pdf" />

                <data android:mimeType="application/octet-stream" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT" />

                <data android:scheme="content" />
                <data android:scheme="file" />
                <data android:host="*" />

                <data android:pathPattern=".*\\.adoc" />
                <data android:pathPattern=".*\\..*\\.adoc" />
                <data android:pathPattern=".*\\..*\\..*\\.adoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.adoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.adoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.adoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.adoc" />

                <data android:pathPattern=".*\\.bdoc" />
                <data android:pathPattern=".*\\..*\\.bdoc" />
                <data android:pathPattern=".*\\..*\\..*\\.bdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.bdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.bdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.bdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.bdoc" />

                <data android:pathPattern=".*\\.cdoc" />
                <data android:pathPattern=".*\\..*\\.cdoc" />
                <data android:pathPattern=".*\\..*\\..*\\.cdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.cdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.cdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.cdoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.cdoc" />

                <data android:pathPattern=".*\\.ddoc" />
                <data android:pathPattern=".*\\..*\\.ddoc" />
                <data android:pathPattern=".*\\..*\\..*\\.ddoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.ddoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.ddoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.ddoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.ddoc" />

                <data android:pathPattern=".*\\.edoc" />
                <data android:pathPattern=".*\\..*\\.edoc" />
                <data android:pathPattern=".*\\..*\\..*\\.edoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.edoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.edoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.edoc" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.edoc" />

                <data android:pathPattern=".*\\.asice" />
                <data android:pathPattern=".*\\..*\\.asice" />
                <data android:pathPattern=".*\\..*\\..*\\.asice" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.asice" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.asice" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.asice" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.asice" />

                <data android:pathPattern=".*\\.sce" />
                <data android:pathPattern=".*\\..*\\.sce" />
                <data android:pathPattern=".*\\..*\\..*\\.sce" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.sce" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.sce" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.sce" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.sce" />

                <data android:pathPattern=".*\\.asics" />
                <data android:pathPattern=".*\\..*\\.asics" />
                <data android:pathPattern=".*\\..*\\..*\\.asics" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.asics" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.asics" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.asics" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.asics" />

                <data android:pathPattern=".*\\.scs" />
                <data android:pathPattern=".*\\..*\\.scs" />
                <data android:pathPattern=".*\\..*\\..*\\.scs" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.scs" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.scs" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.scs" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.scs" />

                <data android:pathPattern=".*\\.pdf" />
                <data android:pathPattern=".*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.pdf" />
                <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.pdf" />

                <data android:pathPattern=".*\\.adoc" />
                <data android:pathPattern=".*\\.bdoc" />
                <data android:pathPattern=".*\\.cdoc" />
                <data android:pathPattern=".*\\.ddoc" />
                <data android:pathPattern=".*\\.edoc" />
                <data android:pathPattern=".*\\.asice" />
                <data android:pathPattern=".*\\.sce" />
                <data android:pathPattern=".*\\.asics" />
                <data android:pathPattern=".*\\.scs" />
                <data android:pathPattern=".*\\.pdf" />
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="*/*" />

                <data android:host="*" />
                <data android:scheme="content" />
                <data android:scheme="file" />
            </intent-filter>
        </activity-alias>

        <provider
            android:name="android.support.v4.content.FileProvider"
            android:authorities="@string/file_provider_authority"
            android:exported="false"
            android:grantUriPermissions="true"
            android:permission="android.permission.MANAGE_DOCUMENTS">

            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_provider_paths" />

        </provider>

    </application>

</manifest>
{'fraction_non_alphanumeric': 0.22205489766582243, 'fraction_numerical': 0.0014374700527072352, 'mean_word_length': 1.5311850311850312, 'pattern_counts': {'":': 0, '<': 222, '<?xml version=': 2, '>': 222, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1985339', 'n_tokens_mistral': 4458, 'n_tokens_neox': 4157, 'n_words': 434}