<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="fr.free.nrw.commons">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.READ_SYNC_STATS" />
    <uses-permission android:name="android.permission.REORDER_TASKS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="com.google.android.apps.photos.permission.GOOGLE_PHOTOS" />
    <uses-permission android:name="android.permission.SET_WALLPAPER"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />


    <!-- Needed only if your app targets Android 5.0 (API level 21) or higher. -->
    <uses-feature android:name="android.hardware.location.gps" />

    <application
        android:name=".CommonsApplication"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/LightAppTheme"
        android:largeHeap="true"
        android:supportsRtl="true"
        tools:replace="android:appComponentFactory"
        android:appComponentFactory="commons"
        tools:ignore="GoogleAppIndexingWarning">

        <activity android:name="org.acra.dialog.CrashReportDialog"
            android:process=":acra"
            android:launchMode="singleInstance"
            android:excludeFromRecents="true"
            android:finishOnTaskLaunch="true" />

        <activity
            android:name=".media.ZoomableActivity" />

        <activity android:name=".auth.LoginActivity">
            <intent-filter>
                <category android:name="android.intent.category.LAUNCHER" />

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

            <meta-data android:name="android.app.shortcuts"
                android:resource="@xml/shortcuts" />

        </activity>
        <activity android:name=".WelcomeActivity" />

        <activity
            android:name=".upload.UploadActivity"
            android:configChanges="orientation|screenSize|keyboard"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:windowSoftInputMode="adjustResize"
            >
            <intent-filter android:label="@string/intent_share_upload_label">
                <action android:name="android.intent.action.SEND" />

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

                <data android:mimeType="image/*" />
                <data android:mimeType="audio/ogg" />
            </intent-filter>
            <intent-filter android:label="@string/intent_share_upload_label">
                <action android:name="android.intent.action.SEND_MULTIPLE" />
<commit_msg>Fix crash when image resolution is very high (#4483)<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="fr.free.nrw.commons">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.READ_SYNC_STATS" />
    <uses-permission android:name="android.permission.REORDER_TASKS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="com.google.android.apps.photos.permission.GOOGLE_PHOTOS" />
    <uses-permission android:name="android.permission.SET_WALLPAPER"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />


    <!-- Needed only if your app targets Android 5.0 (API level 21) or higher. -->
    <uses-feature android:name="android.hardware.location.gps" />

    <application
        android:name=".CommonsApplication"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/LightAppTheme"
        android:largeHeap="true"
        android:supportsRtl="true"
        tools:replace="android:appComponentFactory"
        android:appComponentFactory="commons"
        tools:ignore="GoogleAppIndexingWarning">

        <activity android:name="org.acra.dialog.CrashReportDialog"
            android:process=":acra"
            android:launchMode="singleInstance"
            android:excludeFromRecents="true"
            android:finishOnTaskLaunch="true" />

        <activity
            android:name=".media.ZoomableActivity" />

        <activity android:name=".auth.LoginActivity">
            <intent-filter>
                <category android:name="android.intent.category.LAUNCHER" />

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

            <meta-data android:name="android.app.shortcuts"
                android:resource="@xml/shortcuts" />

        </activity>
        <activity android:name=".WelcomeActivity" />

        <activity
            android:hardwareAccelerated="false"
            android:name=".upload.UploadActivity"
            android:configChanges="orientation|screenSize|keyboard"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:windowSoftInputMode="adjustResize"
            >
            <intent-filter android:label="@string/intent_share_upload_label">
                <action android:name="android.intent.action.SEND" />

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

                <data android:mimeType="image/*" />
                <data android:mimeType="audio/ogg" />
            </intent-filter>
            <intent-filter android:label="@string/intent_share_upload_label">
                <action android:name="android.intent.action.SEND_MULTIPLE" />

{'fraction_non_alphanumeric': 0.13159746657283602, 'fraction_numerical': 0.002533427163969036, 'mean_word_length': 3.229761904761905, 'pattern_counts': {'":': 2, '<': 81, '<?xml version=': 2, '>': 81, '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': '7036185', 'n_tokens_mistral': 2061, 'n_tokens_neox': 1956, 'n_words': 219}