<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2014 barter.li
  ~
  ~ 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"
          package="li.barter">

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

    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
    <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
    <uses-permission android:name="android.permission.USE_CREDENTIALS"/>

    <application
        android:name="li.barter.BarterLiApplication"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">

        <!-- Meta data for Google Play Services -->
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version"/>

        <!-- Meta data for Facebook SDK -->
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/facebook_app_id"/>

        <meta-data
            android:name="com.crashlytics.ApiKey"
            android:value="@string/crashlytics_id"/>

        <!-- Activity declarations -->
        <activity
            android:name="li.barter.activities.HomeActivity"
            android:label="@string/app_name"
            android:launchMode="singleTop">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity
            android:name="li.barter.activities.ScanIsbnActivity"
            android:label="@string/app_name"
            android:parentActivityName="li.barter.activities.HomeActivity"
            android:screenOrientation="landscape">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="li.barter.activities.HomeActivity"/>
        </activity>

        <activity
            android:name="li.barter.activities.ChatsActivity"
            android:label="@string/app_name"/>
        <activity
            android:name="li.barter.activities.AuthActivity"
            android:label="@string/app_name"
            android:parentActivityName="li.barter.activities.HomeActivity">

            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="li.barter.activities.HomeActivity"/>
        </activity>

        <activity
            android:name="li.barter.activities.SendFeedbackActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.UserProfileActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.BookDetailActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.SearchBookPagerActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.SelectPreferredLocationActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.AddOrEditBookActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.AboutUsActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.EditProfileActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.PasswordResetActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.SettingsActivity"
            android:label="@string/app_name"
            android:parentActivityName="li.barter.activities.HomeActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="li.barter.activities.HomeActivity"/>
        </activity>
        <activity android:name="com.facebook.LoginActivity"/>

        <!-- Broadcast Receivers -->
        <receiver
            android:name="li.barter.http.NetworkChangeReceiver"
            android:exported="true"
            android:label="@string/receiver_network">
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
            </intent-filter>
        </receiver>
        <receiver
            android:name="li.barter.analytics.CampaignTrackingReceiver"
            android:exported="true">
            <intent-filter>
                <action android:name="com.android.vending.INSTALL_REFERRER"/>
            </intent-filter>
        </receiver>

        <!-- Services -->
        <service
            android:name="li.barter.chat.ChatService"
            android:exported="false"
            android:label="@string/service_chat"/>
    </application>

</manifest><commit_msg>Added <supports-screens> tag to Manifest<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2014 barter.li
  ~
  ~ 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"
          package="li.barter">

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

    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
    <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
    <uses-permission android:name="android.permission.USE_CREDENTIALS"/>

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

    <application
        android:name="li.barter.BarterLiApplication"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">

        <!-- Meta data for Google Play Services -->
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version"/>

        <!-- Meta data for Facebook SDK -->
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/facebook_app_id"/>

        <meta-data
            android:name="com.crashlytics.ApiKey"
            android:value="@string/crashlytics_id"/>

        <!-- Activity declarations -->
        <activity
            android:name="li.barter.activities.HomeActivity"
            android:label="@string/app_name"
            android:launchMode="singleTop">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity
            android:name="li.barter.activities.ScanIsbnActivity"
            android:label="@string/app_name"
            android:parentActivityName="li.barter.activities.HomeActivity"
            android:screenOrientation="landscape">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="li.barter.activities.HomeActivity"/>
        </activity>

        <activity
            android:name="li.barter.activities.ChatsActivity"
            android:label="@string/app_name"/>
        <activity
            android:name="li.barter.activities.AuthActivity"
            android:label="@string/app_name"
            android:parentActivityName="li.barter.activities.HomeActivity">

            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="li.barter.activities.HomeActivity"/>
        </activity>

        <activity
            android:name="li.barter.activities.SendFeedbackActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.UserProfileActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.BookDetailActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.SearchBookPagerActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.SelectPreferredLocationActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.AddOrEditBookActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.AboutUsActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.EditProfileActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.PasswordResetActivity"
            android:label="@string/app_name"/>

        <activity
            android:name="li.barter.activities.SettingsActivity"
            android:label="@string/app_name"
            android:parentActivityName="li.barter.activities.HomeActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="li.barter.activities.HomeActivity"/>
        </activity>
        <activity android:name="com.facebook.LoginActivity"/>

        <!-- Broadcast Receivers -->
        <receiver
            android:name="li.barter.http.NetworkChangeReceiver"
            android:exported="true"
            android:label="@string/receiver_network">
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
            </intent-filter>
        </receiver>
        <receiver
            android:name="li.barter.analytics.CampaignTrackingReceiver"
            android:exported="true">
            <intent-filter>
                <action android:name="com.android.vending.INSTALL_REFERRER"/>
            </intent-filter>
        </receiver>

        <!-- Services -->
        <service
            android:name="li.barter.chat.ChatService"
            android:exported="false"
            android:label="@string/service_chat"/>
    </application>

</manifest>
{'fraction_non_alphanumeric': 0.12136526201212876, 'fraction_numerical': 0.001710464935468823, 'mean_word_length': 2.551352843732744, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 2, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3936703', 'n_tokens_mistral': 3525, 'n_tokens_neox': 3369, 'n_words': 480}