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

    <uses-sdk
        android:minSdkVersion="18"
        android:targetSdkVersion="25" />

    <instrumentation
        android:name="android.support.test.runner.AndroidJUnitRunner"
        android:functionalTest="false"
        android:handleProfiling="false"
        android:label="Tests for com.st.BlueSTSDK.gui.test"
        android:targetPackage="com.st.BlueSTSDK.gui.test" />
    <!-- needed for read the fw file -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <!-- install only in device with ble -->
    <uses-feature
        android:name="android.hardware.bluetooth_le"
        android:required="true" /> <!-- use the bluetooth -->
    <uses-permission android:name="android.permission.BLUETOOTH" /> <!-- search for new devices -->
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <!-- need for search for new devices for api >23 ! -->
    <uses-permission-sdk-23 android:name="android.permission.ACCESS_COARSE_LOCATION" /> <!-- store log files -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <meta-data
        android:name="android.support.VERSION"
        android:value="25.3.1" />

    <application
        android:allowBackup="true"
        android:supportsRtl="true"
        android:theme="@style/AppTheme" >
        <uses-library android:name="android.test.runner" />

        <activity
            android:name="com.st.BlueSTSDK.gui.AboutActivity"
            android:label="@string/title_activity_about"
            android:launchMode="singleTop" />
        <activity
            android:name="com.st.BlueSTSDK.gui.DebugConsoleActivity"
            android:label="@string/title_activity_debug_console"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.st.BlueSTSDK.gui.SettingsActivityWithNode"
            android:label="@string/title_activity_settings"
            android:theme="@style/AppTheme.Settings" >
        </activity>
        <activity
            android:name="com.st.BlueSTSDK.gui.fwUpgrade.FwUpgradeActivity"
            android:label="@string/title_activity_fw_upgrade" />

        <service
            android:name="com.st.BlueSTSDK.gui.fwUpgrade.FwUpgradeService"
            android:exported="false" />
        <service
            android:name="com.st.BlueSTSDK.gui.NodeConnectionService"
            android:enabled="true"
            android:exported="false" />

        <activity
            android:name="com.st.BlueSTSDK.gui.privacyPolicy.PrivacyPolicyActivity"
            android:label="@string/title_activity_privacy_policy"
            android:parentActivityName="com.st.BlueSTSDK.gui.AboutActivity" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="com.st.BlueSTSDK.gui.AboutActivity" />
        </activity>
        <activity
            android:name="com.st.BlueSTSDK.gui.thirdPartyLibLicense.LibLicenseActivity"
            android:label="License"
            android:launchMode="singleTop"
            android:parentActivityName="com.st.BlueSTSDK.gui.AboutActivity" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="com.st.BlueSTSDK.gui.AboutActivity" />
        </activity>
        <activity
            android:name="com.st.BlueSTSDK.gui.thirdPartyLibLicense.LibLicenseDetailsActivity"
            android:label="Details"
            android:parentActivityName="com.st.BlueSTSDK.gui.thirdPartyLibLicense.LibLicenseActivity" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="com.st.BlueSTSDK.gui.thirdPartyLibLicense.LibLicenseActivity" />
        </activity>
    </application>

</manifest>