<commit_before><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="edu.berkeley.cs.amplab.carat.android"
    android:versionCode="86"
    android:versionName="@string/version_name"
    >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="21" />

    <!-- For reading the 10 recently used apps (to show the number of bugs/hogs among them (in the summary screen)). -->
    <!-- not working as expected. leave it out for now. -->
    <!-- <uses-permission android:name="android.permission.GET_TASKS" /> -->
    
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <!-- For sending and receiving Samples and reports. -->
    <uses-permission android:name="android.permission.INTERNET" />
    <!-- For Sampling network stuff -->
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <!-- Required on some phones to check wifi signal strength. Should not be required. -->
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <!-- <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />-->
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <!-- Required for IMEI / MEID for user differentiation. -->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <!-- Required for WiFi settings on some phones. -->
    <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
    <!-- Required for programmatic killing of apps -->
    <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
    <!-- Required for getting the "gps" location provider for system settings tab -->
    <!--  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />-->
    
    
    <application
        android:allowBackup="true"
        android:name="CaratApplication"
        android:enabled="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:configChanges="keyboardHidden|orientation|screenSize" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <receiver
            android:name=".sampling.BootReceiver"
            android:enabled="true"
            android:exported="true"
            android:label="Start Carat on boot" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
            </intent-filter>                
        </receiver>
        <receiver
            android:name=".sampling.Sampler"
            android:enabled="true"
            android:exported="true"
            android:label="Carat Sampler" >
            <intent-filter>
                <!-- It is not possible to schedule TIME_TICK outside of the program.
                Also, using AlarmManager with setRepeatingInexact saves battery if the interval
                is 15 mins or more. -->
                <!-- <action android:name="android.intent.action.TIME_TICK" /> -->

                <!-- This event cannot be registered to from the manifest either. -->
                <!-- <action android:name="android.intent.action.BATTERY_CHANGED" /> -->
				
				<!-- Also these -->
				<!-- There are certain events that Android does not want to start up new processes for, 
				so the device does not get too slow from all sorts of stuff all having to run at once. 
				ACTION_SCREEN_ON is one of those. -->
				<!-- <action android:name="android.intent.action.SCREEN_OFF" />
                <action android:name="android.intent.action.SCREEN_ON" />  -->
                
                <action android:name="android.intent.action.TIMEZONE_CHANGED" />
                <action android:name="android.intent.action.PACKAGE_REMOVED" />
                <data android:scheme="package" /> 
                <!-- BATTERY_CHANGED seems to activate in all these conditions: -->
                <!-- <action android:name="android.intent.action.BATTERY_LOW" />
                <action android:name="android.intent.action.BATTERY_OKAY" />-->
                <action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
                <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
                <!-- Sample on timer if nothing else happens for 15 mins -->
                <action android:name="edu.berkeley.cs.amplab.carat.android.ACTION_SAMPLE" />
            </intent-filter>
        </receiver>
        <service android:label="SamplingService" android:name=".sampling.SamplerService"></service>
        <receiver android:name=".sampling.InstallReceiver" android:label="Installation Intent Receiver">
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_ADDED"/>
                <action android:name="android.intent.action.PACKAGE_REMOVED"/>
                <action android:name="android.intent.action.PACKAGE_REPLACED"/>
                <data android:scheme="package" /> 
            </intent-filter>
        </receiver>
        
    </application>
</manifest>
<commit_msg>Version bump for Play, was missing Flurry file.<commit_after><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="edu.berkeley.cs.amplab.carat.android"
    android:versionCode="87"
    android:versionName="@string/version_name"
    >

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="21" />

    <!-- For reading the 10 recently used apps (to show the number of bugs/hogs among them (in the summary screen)). -->
    <!-- not working as expected. leave it out for now. -->
    <!-- <uses-permission android:name="android.permission.GET_TASKS" /> -->
    
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <!-- For sending and receiving Samples and reports. -->
    <uses-permission android:name="android.permission.INTERNET" />
    <!-- For Sampling network stuff -->
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <!-- Required on some phones to check wifi signal strength. Should not be required. -->
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <!-- <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />-->
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <!-- Required for IMEI / MEID for user differentiation. -->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <!-- Required for WiFi settings on some phones. -->
    <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
    <!-- Required for programmatic killing of apps -->
    <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
    <!-- Required for getting the "gps" location provider for system settings tab -->
    <!--  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />-->
    
    
    <application
        android:allowBackup="true"
        android:name="CaratApplication"
        android:enabled="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:configChanges="keyboardHidden|orientation|screenSize" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <receiver
            android:name=".sampling.BootReceiver"
            android:enabled="true"
            android:exported="true"
            android:label="Start Carat on boot" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
            </intent-filter>                
        </receiver>
        <receiver
            android:name=".sampling.Sampler"
            android:enabled="true"
            android:exported="true"
            android:label="Carat Sampler" >
            <intent-filter>
                <!-- It is not possible to schedule TIME_TICK outside of the program.
                Also, using AlarmManager with setRepeatingInexact saves battery if the interval
                is 15 mins or more. -->
                <!-- <action android:name="android.intent.action.TIME_TICK" /> -->

                <!-- This event cannot be registered to from the manifest either. -->
                <!-- <action android:name="android.intent.action.BATTERY_CHANGED" /> -->
				
				<!-- Also these -->
				<!-- There are certain events that Android does not want to start up new processes for, 
				so the device does not get too slow from all sorts of stuff all having to run at once. 
				ACTION_SCREEN_ON is one of those. -->
				<!-- <action android:name="android.intent.action.SCREEN_OFF" />
                <action android:name="android.intent.action.SCREEN_ON" />  -->
                
                <action android:name="android.intent.action.TIMEZONE_CHANGED" />
                <action android:name="android.intent.action.PACKAGE_REMOVED" />
                <data android:scheme="package" /> 
                <!-- BATTERY_CHANGED seems to activate in all these conditions: -->
                <!-- <action android:name="android.intent.action.BATTERY_LOW" />
                <action android:name="android.intent.action.BATTERY_OKAY" />-->
                <action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
                <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
                <!-- Sample on timer if nothing else happens for 15 mins -->
                <action android:name="edu.berkeley.cs.amplab.carat.android.ACTION_SAMPLE" />
            </intent-filter>
        </receiver>
        <service android:label="SamplingService" android:name=".sampling.SamplerService"></service>
        <receiver android:name=".sampling.InstallReceiver" android:label="Installation Intent Receiver">
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_ADDED"/>
                <action android:name="android.intent.action.PACKAGE_REMOVED"/>
                <action android:name="android.intent.action.PACKAGE_REPLACED"/>
                <data android:scheme="package" /> 
            </intent-filter>
        </receiver>
        
    </application>
</manifest>

{'fraction_non_alphanumeric': 0.12803187803187804, 'fraction_numerical': 0.0024255024255024253, 'mean_word_length': 2.518744285278878, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 2, '>': 163, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5425895', 'n_tokens_mistral': 3205, 'n_tokens_neox': 3051, 'n_words': 617}