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

    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

    <!--bar-->
    <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />

    <!--读写内存-->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <!--network-->
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />

    <!--permission-->
    <uses-permission android:name="android.permission.READ_CALENDAR" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />

    <!--phone-->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.SEND_SMS" />
    <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />

    <!--process-->
    <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />

    <!--screen-->
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />

    <!--flashlight-->
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.FLASHLIGHT" />

    <!--location-->
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    <application
        android:name=".UtilsApp"
        android:allowBackup="false"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:windowSoftInputMode="stateHidden|adjustPan">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <!--core-->
        <activity
            android:name=".feature.core.CoreUtilActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.activity.ActivityActivity"
            android:icon="@drawable/ic_activity_icon"
            android:launchMode="singleTop"
            android:logo="@drawable/ic_activity_logo" />
        <activity
            android:name=".feature.core.activity.SubActivityActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.app.AppActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarNotificationActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarNavActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusAlphaActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusColorActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusDrawerActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusFragmentActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusImageViewActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.bar.BarStatusSwipeBackActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.clean.CleanActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.device.DeviceActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.fragment.FragmentActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.image.ImageActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.keyboard.KeyboardActivity"
            android:launchMode="singleTop"
            android:windowSoftInputMode="stateHidden|adjustPan" />
        <activity
            android:name=".feature.core.log.LogActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.network.NetworkActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.permission.PermissionActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.phone.PhoneActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.process.ProcessActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.reflect.ReflectActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.resource.ResourceActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.screen.ScreenActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.sdcard.SDCardActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.snackbar.SnackbarActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.sp.SPActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.span.SpanActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.core.toast.ToastActivity"
            android:launchMode="singleTop" />

        <!--sub-->
        <activity
            android:name=".feature.sub.SubUtilActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.sub.brightness.BrightnessActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.sub.flashlight.FlashlightActivity"
            android:launchMode="singleTop" />
        <activity
            android:name=".feature.sub.location.LocationActivity"
            android:launchMode="singleTop" />

        <service
            android:name=".feature.sub.location.LocationService"
            android:launchMode="singleTop" />

        <activity
            android:name=".feature.sub.meta_data.MetaDataActivity"
            android:launchMode="singleTop">
            <meta-data
                android:name="activity_meta_data"
                android:value="activity" />
        </activity>
        <activity
            android:name=".feature.sub.pinyin.PinyinActivity"
            android:launchMode="singleTop" />

        <meta-data
            android:name="app_meta_data"
            android:value="1234" />

    </application>

</manifest>