<commit_before><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 <NAME>

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          package="com.farmerbb.taskbar">

    <permission android:name="${applicationId}.START_STOP_TASKBAR"
        android:protectionLevel="signature" />

    <permission android:name="${applicationId}.SEND_RECEIVE_SETTINGS"
        android:protectionLevel="signature" />

    <permission android:name="${applicationId}.ENABLE_DISABLE_HOME"
        android:protectionLevel="signatureOrSystem" />

    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" tools:ignore="ProtectedPermissions" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    <uses-permission android:name="${applicationId}.START_STOP_TASKBAR" />
    <uses-permission android:name="${applicationId}.SEND_RECEIVE_SETTINGS" />

    <uses-permission-sdk-23 android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
    <uses-permission-sdk-23 android:name="android.permission.GET_TASKS" />

    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false"/>

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true"/>

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="${appName}"
        android:theme="@style/AppTheme" >

        <activity
            android:name=".MainActivity"
            android:label="${appName}"
            android:launchMode="singleTask" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="android.intent.action.APPLICATION_PREFERENCES"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.InvisibleActivity"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.InvisibleActivity"/>
        <activity
            android:name=".activity.InvisibleActivityAlt"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.Incognito"/>
        <activity
            android:name=".activity.dark.InvisibleActivityAltDark"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.Incognito.Dark"/>
        <activity
            android:name=".activity.InvisibleActivityFreeform"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleInstance"
            android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
            android:theme="@style/AppTheme.InvisibleActivity"/>
        <activity
            android:name=".activity.HomeActivity"
            android:label="${appName}"
            android:launchMode="singleTask"
            android:enabled="false"
            android:theme="@style/AppTheme.HomeActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.HOME"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.KeyboardShortcutActivity"
            android:label="${appName}"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:enabled="false"
            android:theme="@android:style/Theme.NoDisplay">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="android.intent.action.ASSIST" />

                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.APP_MAPS" />
                <category android:name="android.intent.category.APP_CALENDAR" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.ContextMenuActivity"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:theme="@style/AppTheme.Dialog"/>
        <activity
            android:name=".activity.dark.ContextMenuActivityDark"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:theme="@style/AppTheme.Dialog.Dark"/>
        <activity
            android:name=".activity.SelectAppActivity"
            android:theme="@style/AppTheme.Dialog.Blacklist"/>
        <activity
            android:name=".activity.dark.SelectAppActivityDark"
            android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
        <activity
            android:name=".activity.DummyActivity"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:theme="@style/AppTheme.Incognito"/>
        <activity
            android:name=".activity.ImportSettingsActivity"
            android:theme="@style/AppTheme.Dialog"/>
        <activity
            android:name=".activity.IconPackActivity"
            android:theme="@style/AppTheme.Dialog.Blacklist"/>
        <activity
            android:name=".activity.dark.IconPackActivityDark"
            android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
        <activity
            android:name=".activity.IconPackApplyActivity"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.Dialog"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="com.farmerbb.taskbar.APPLY_ICON_PACK"/>

                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.ShortcutActivity"
            android:icon="@mipmap/ic_freeform_mode"
            android:label="@string/pref_header_freeform"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:enabled="false"
            android:theme="@android:style/Theme.NoDisplay" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.CREATE_SHORTCUT" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.StartTaskbarActivity"
            android:label="@string/start_taskbar"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:enabled="true"
            android:theme="@android:style/Theme.NoDisplay"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.CREATE_SHORTCUT" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.ClearDataActivity"
            android:theme="@style/AppTheme.Dialog.Blacklist"/>
        <activity
            android:name=".activity.dark.ClearDataActivityDark"
            android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/><commit_msg>Minor manifest cleanup<commit_after><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 <NAME>

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          package="com.farmerbb.taskbar">

    <permission android:name="${applicationId}.START_STOP_TASKBAR"
        android:protectionLevel="signature" />

    <permission android:name="${applicationId}.SEND_RECEIVE_SETTINGS"
        android:protectionLevel="signature" />

    <permission android:name="${applicationId}.ENABLE_DISABLE_HOME"
        android:protectionLevel="signature" />

    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" tools:ignore="ProtectedPermissions" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    <uses-permission android:name="${applicationId}.START_STOP_TASKBAR" />
    <uses-permission android:name="${applicationId}.SEND_RECEIVE_SETTINGS" />

    <uses-permission-sdk-23 android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
    <uses-permission-sdk-23 android:name="android.permission.GET_TASKS" />

    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false"/>

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true"/>

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="${appName}"
        android:theme="@style/AppTheme" >

        <activity
            android:name=".MainActivity"
            android:label="${appName}"
            android:launchMode="singleTask" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="android.intent.action.APPLICATION_PREFERENCES"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.InvisibleActivity"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.InvisibleActivity"/>
        <activity
            android:name=".activity.InvisibleActivityAlt"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.Incognito"/>
        <activity
            android:name=".activity.dark.InvisibleActivityAltDark"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.Incognito.Dark"/>
        <activity
            android:name=".activity.InvisibleActivityFreeform"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleInstance"
            android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
            android:theme="@style/AppTheme.InvisibleActivity"/>
        <activity
            android:name=".activity.HomeActivity"
            android:label="${appName}"
            android:launchMode="singleTask"
            android:enabled="false"
            android:theme="@style/AppTheme.HomeActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.HOME"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.KeyboardShortcutActivity"
            android:label="${appName}"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:launchMode="singleTask"
            android:enabled="false"
            android:theme="@android:style/Theme.NoDisplay">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="android.intent.action.ASSIST" />

                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.APP_MAPS" />
                <category android:name="android.intent.category.APP_CALENDAR" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.ContextMenuActivity"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:theme="@style/AppTheme.Dialog"/>
        <activity
            android:name=".activity.dark.ContextMenuActivityDark"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:theme="@style/AppTheme.Dialog.Dark"/>
        <activity
            android:name=".activity.SelectAppActivity"
            android:theme="@style/AppTheme.Dialog.Blacklist"/>
        <activity
            android:name=".activity.dark.SelectAppActivityDark"
            android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
        <activity
            android:name=".activity.DummyActivity"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:theme="@style/AppTheme.Incognito"/>
        <activity
            android:name=".activity.ImportSettingsActivity"
            android:theme="@style/AppTheme.Dialog"/>
        <activity
            android:name=".activity.IconPackActivity"
            android:theme="@style/AppTheme.Dialog.Blacklist"/>
        <activity
            android:name=".activity.dark.IconPackActivityDark"
            android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
        <activity
            android:name=".activity.IconPackApplyActivity"
            android:launchMode="singleTask"
            android:theme="@style/AppTheme.Dialog"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <action android:name="com.farmerbb.taskbar.APPLY_ICON_PACK"/>

                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.ShortcutActivity"
            android:icon="@mipmap/ic_freeform_mode"
            android:label="@string/pref_header_freeform"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:enabled="false"
            android:theme="@android:style/Theme.NoDisplay" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.CREATE_SHORTCUT" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.StartTaskbarActivity"
            android:label="@string/start_taskbar"
            android:documentLaunchMode="always"
            android:excludeFromRecents="true"
            android:enabled="true"
            android:theme="@android:style/Theme.NoDisplay" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.CREATE_SHORTCUT" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activity.ClearDataActivity"
            android:theme="@style/AppTheme.Dialog.Blacklist"/>
        <activity
            android:name=".activity.dark.ClearDataActivityDark"
            android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
{'fraction_non_alphanumeric': 0.11787952351380342, 'fraction_numerical': 0.0016936713148534973, 'mean_word_length': 2.5713709677419354, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 2, '>': 153, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '4017990', 'n_tokens_mistral': 4627, 'n_tokens_neox': 4392, 'n_words': 568}