<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.RickBarrette.android.LocationRinger"
    android:installLocation="internalOnly"
    android:versionCode="249"
    android:versionName="d196950" >

    <uses-sdk android:minSdkVersion="17" />

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

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_UPDATES" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />

    <!-- licensing library -->
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/Theme.Custom" >

        <activity
            android:name=".ui.ListActivity"
            android:configChanges="keyboard|orientation"
            android:excludeFromRecents="true"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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

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

        <activity
            android:name=".ui.RingerInformationActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize" />

        <receiver
            android:name=".receivers.SystemReceiver"
            android:enabled="true"
            android:exported="true"
            android:process=":SysyemEventReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <action android:name="android.intent.action.BATTERY_LOW" />
                <action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
            </intent-filter>
        </receiver>
        <receiver
            android:name=".receivers.LocationChangedReceiver"
            android:enabled="true"
            android:process=":LocationReceiver" >
            <intent-filter>
                <action android:name="TwentyCodes.intent.action.LocationUpdate" />
            </intent-filter>
        </receiver>

        <service
            android:name=".services.LocationService"
            android:enabled="true"
            android:process=":LocationService" />
        <service
            android:name=".services.RingerProcessingService"
            android:enabled="true"
            android:process=":RingerProcessingService" />

        <activity
            android:name=".ui.SettingsActivity"
            android:enabled="true" />

        <receiver
            android:name=".receivers.GetLocationWidget"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
            </intent-filter>

            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/updatelocationwidgetinfo" />
        </receiver>

        <activity
            android:name="com.TwentyCodes.android.exception.ExceptionReportActivity"
            android:configChanges="keyboard|orientation"
            android:excludeFromRecents="true"
            android:noHistory="true" />

        <service android:name="com.TwentyCodes.android.exception.ReportPostingService" />

        <receiver
            android:name=".receivers.PassiveLocationChangedReceiver"
            android:enabled="true"
            android:exported="true"
            android:process=":PassiveLocationChangedReceiver" />

        <activity
            android:name=".ui.CheckLocationShortcut"
            android:theme="@android:style/Theme.Translucent" >
            <intent-filter>
                <action android:name="android.intent.action.CREATE_SHORTCUT" />
            </intent-filter>
        </activity>
        <activity android:name="LegalActivity" >
        </activity>
        <receiver android:name=".receivers.BluetoothReceiver">
            <intent-filter>
                <action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
                <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
            </intent-filter>
        </receiver>

        <meta-data
                android:name="com.google.android.gms.version"
                android:value="@integer/google_play_services_version" />

        <!--
        Maps V1
        ricky beta release	0rKmsWMM0D-IRAEgcSZEqwZCs_8AUwxjYjj0bnA
        ricky				0rKmsWMM0D-LWOndcfwrmW-S0OXlnQl2SJCMeTg
        TWENTYCODES 		0rKmsWMM0D-K15bEM_kwabPbNhsn4dp4rcq2q5Q
        -->

        <!--
        Maps v2
        Debug               AIzaSyCSqR3sQvE957QUuSfrIgLdhmneB__ljXQ
        -->
        <meta-data
                android:name="com.google.android.maps.v2.API_KEY"
                android:value="AIzaSyCSqR3sQvE957QUuSfrIgLdhmneB__ljXQ"/>
    </application>


</manifest>