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

    <!--访问通知栏-->
    <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" />
    <!-- <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> -->
    <uses-permission android:name="android.permission.MANAGE_LOCATION_POLICY" />
    <!-- SD卡存储权限 -->
    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEM" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <!-- 在SDCard中创建与删除文件的权限 -->
    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />

    <!-- 摄像机权限 -->
    <uses-permission android:name="android.permission.CAMERA" />

    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera.autofocus"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.wifi"
        android:required="false" />

    <!-- 通讯录权限 读取联系人权限 -->
    <!-- <uses-permission android:name="android.permission.WRITE_CONTACTS" /> -->
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <!-- 用于读取手机当前的状态 -->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />

    <!-- 电话权限 -->
    <!-- <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> -->
    <uses-permission android:name="android.permission.CALL_PHONE" />

    <!-- 需要运行时注册的权限 -->
    <!-- 用于进行网络定位 -->
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- 用于访问GPS定位 -->
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> <!-- 用于提高GPS定位速度 -->
    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location.network"
        android:required="false" />

    <!-- 音频录制权限 -->
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.FLASHLIGHT" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <!-- READ_LOGS 集成 -->
    <uses-permission android:name="android.permission.READ_LOGS" />

    <!-- 获取运营商信息，用于支持提供运营商信息相关的接口 -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <!-- 用于访问wifi网络信息，wifi信息会用于进行网络定位 -->
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <!-- 这个权限用于获取wifi的获取权限，wifi信息会用来进行网络定位 -->
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />

    <!-- 更改设置 -->
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <!-- 3.2.0版本增加 -->
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <!-- 3.2.0版本增加 -->
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <!-- 分享，重复的权限删除不需要 -->
    <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />

    <!-- Push service 运行需要的权限 -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <!-- 网络状态变化监听权限 -->
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />

    <!-- 富媒体需要声明的权限 -->
    <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
    <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
    <uses-permission android:name="android.permission.BROADCAST_STICKY" />

    <!-- 适配Android N系统必需的ContentProvider写权限声明，写权限包含应用包名 -->
    <uses-permission android:name="baidu.push.permission.WRITE_PUSHINFOPROVIDER.com.mnopensdk.demo" />

    <permission
        android:name="baidu.push.permission.WRITE_PUSHINFOPROVIDER.com.mnopensdk.demo"
        android:protectionLevel="signature" />

    <!-- 前后台的切换 -->
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
    <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO" />
    <uses-permission android:name="android.permission.REORDER_TASKS" />

    <!-- 如果是安卓8.0，应用编译配置的targetSdkVersion>=26，请务必添加以下权限 -->
    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
    <!-- 小米推送一些权限 -->
    <permission
        android:name="com.mnopensdk.demo.permission.MIPUSH_RECEIVE"
        android:protectionLevel="signature" />

    <uses-permission android:name="com.mnopensdk.demo.permission.MIPUSH_RECEIVE" />


    <!--android:roundIcon="@mipmap/icon_logos"-->
    <application
        android:name=".MNApplication"
        android:allowBackup="true"
        android:icon="@mipmap/icon_logos"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name=".activity.LoginActivity"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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

        <activity
            android:name=".activity.HomeActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.BindDevStep1Activity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.BindDevSelectWiFiActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.BindDevSendSoundWifiActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.QRcodeActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.CloudAlarmActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.MNPlayControlActivity"
            android:configChanges="orientation|keyboard|keyboardHidden|screenSize|layoutDirection"
            android:screenOrientation="sensor" />


        <activity
            android:name=".activity.RegisterActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.PlayTypeActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.MNTfCardPlayActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.setting.DeviceSettingActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.BindWifiListActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.setting.TimeZoneActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.setting.DevAlartModeActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.setting.DevSetVolumeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.setting.MessagePusheActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.setting.MessagePushTimeActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.setting.DevSetTFActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".activity.AddDeviceExclamationActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.BIndDeviceFailedActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.ShareMeToFriendsActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.ShareMethodSelectActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.ShareWithUserNameActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.ShareQrCodeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.MyShareActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.ShareUserInfoActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".activity.MN24CloudRecordActivity"
            android:screenOrientation="portrait" />
    </application>

</manifest>