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


    <uses-feature android:name="android.hardware.usb.host" />
    <uses-permission android:name="android.permission.INTERNET" />


    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <activity
            android:name="com.yoctopuce.yocto_firmware.CheckFirmwareActivity"
            android:label="@string/app_name"
            android:exported="true">

            <!-- android:clearTaskOnLaunch="true" -->
            <!-- android:launchMode="singleInstance" -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.yoctopuce.yocto_firmware.USBDevicePluggedActivity"
            android:noHistory="true">

            <!--
            <intent-filter>
                <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>
            </intent-filter>

            <meta-data
                android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
                android:resource="@xml/device_filter"/>
            -->
        </activity>
        <activity
            android:name="com.yoctopuce.yocto_firmware.DoUpdateActivity"
            android:configChanges="orientation|keyboardHidden|screenSize"
            android:label="@string/title_activity_do_update"
            android:parentActivityName="com.yoctopuce.yocto_firmware.CheckFirmwareActivity"
            android:theme="@style/FullscreenTheme"
            tools:targetApi="jelly_bean">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="com.yoctopuce.yocto_firmware.CheckFirmwareActivity" />
        </activity>
    </application>

</manifest>