<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
>

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.TRANSMIT_IR"/>
    <uses-feature android:name="android.hardware.ConsumerIrManager"/>

    <application
            android:name=".IRApplication"
            android:allowBackup="true"
            android:icon="@mipmap/ir_logo"
            android:label="@string/app_name"
            android:supportsRtl="true"
            android:networkSecurityConfig="@xml/network_security_config"
            android:theme="@android:style/Theme.Holo.Light.DarkActionBar">

        <activity
                android:name="net.irext.ircontrol.ui.activity.MainActivity"
                android:label="@string/title_activity_main"
                android:theme="@style/AppTheme">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

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

        <activity
                android:name=".ui.activity.CreateActivity"
                android:parentActivityName="android.support.v4.app.FragmentActivity"
                android:theme="@style/AppTheme">
            <meta-data
                    android:name="android.support.PARENT_ACTIVITY"
                    android:value="android.support.v4.app.FragmentActivity"/>
        </activity>

        <activity
                android:name=".ui.activity.ControlActivity"
                android:parentActivityName="android.support.v4.app.FragmentActivity"
                android:theme="@style/AppTheme">
            <meta-data
                    android:name="android.support.PARENT_ACTIVITY"
                    android:value="android.support.v4.app.FragmentActivity"/>
        </activity>

        <provider
            android:name="com.activeandroid.content.ContentProvider"
            android:authorities="net.irext.ircontrol"
            android:enabled="true"
            android:exported="false">
        </provider>

        <meta-data
                android:name="AA_DB_NAME"
                android:value="IRRemote"/>
        <meta-data
                android:name="AA_DB_VERSION"
                android:value="5"/>
        <meta-data
                android:name="AA_MODELS"
                android:value="net.irext.ircontrol.bean.RemoteControl"/>

        <meta-data
                android:name="irext_app_key"
                android:value="c49c3bd5ff6b3efb67d8af2c" />

        <meta-data
            android:name="irext_app_secret"
            android:value="194f9cb578c458ace2284f16" />

    </application>

</manifest>