package com.secspace.lib.common.env;

import android.content.Intent;

/**
 * Created by cyw_m on 2018/3/27.
 */

public class Intents {
    public static final String EXTRA_ID = "id";
    public static final String EXTRA_FORM_WHRER = "fromWhere";
    public static final String EXTRA_IS_OPTIMIZE = "isOptimize";

    //密码模块
    public static final class Pwd {
        public static final String PWD_ACTION_TO_LOCK = "secspace.intent.action.PWD_LOCK";
        public static final String PWD_ACTION_TO_CHOOSE = "secspace.intent.action.PWD_CHOOSE";
        public static final String PWD_ACTION_TO_UNLOCK = "secspace.intent.action.UNLOCK";
        public static final String COMPONENT_LOCK_CLASS = "com.lib.pwd.activity.LockActivity";
    }

    //创建空间模块
    public static final class CreateSpace {
        public static final String CREATESPACE_ACTION = "secspace.intent.action.CREATE_SECSPACE";
        public static final String OPTIMIZESPACE_ACTION = "secspace.intent.action.OPTIMIZE_SPACE";
    }

    //激活模块
    public static final class Activation {
        public static final String ACTIVATION_ACTION = "activation.intent.action.OPEN";
    }

    //Launcher
    public static final class Launcher {
        public static final String ACTION_TO_SECSPACE_LAUNCHER = Intent.ACTION_MAIN;
        public static final String ACTION_TO_SECSPACE_LAUNCHER_SETTINGS = "secspace.intent.action.APPLICATION_PREFERENCES";
        public static final String ACTION_SWITCH_OUT_SERVICE = "secspace.intent.action.OUT_SERVICE";
        public static final String ACTION_CALLLOG_CHANGED = "secspace.intent.action.CALLLOG_CHANGED";
        public static final String ACTION_NEW_NOTIFICATION_WHEN_OUTSIDE_SECSPACE = "secspace.intent.action.NEW_NOTIFICATION_WHEN_OUTSIDE_SECSPACE";
        public static final String COMPONENT_LAUNCHER_CLASS = "com.secspace.launcher.Launcher";
        public static final String ACTION_UPDATE_SECSPACE = "secspace.intent.action.UPDATE_SECSPACE";
        public static final String ACTION_PERMISSION_TIP = "secspace.intent.action.PERMISSION_TIP";
        // update
        public static final String ACTION_HAS_UPDATE = "secspace.intent.action.HAS_UPDATE";
        public static final String ACTION_NO_UPDATE = "secspace.intent.action.NO_UPDATE";

        public static final String ACTION_DOWNLOADER_NEW_TASK = "secspace.intent.action.DOWNLOADER_NEW_TASK";
        public static final String ACTION_TO_DOWNLOADS = "secspace.intent.action.VIEW_DOWNLOADS";
    }

    public static final class Settings {
        public static final String ACTION_SECSPACE_APP_DETAILS_SETTINGS = "secspace.intent.action.APP_DETAIL";
        public static final String ACTION_WATER_MARK_CONFIG_CHANGED = "settings.intent.action.WATER_MARK_CONFIG_CHANGED";
        public static final String ACTION_NETWORK_CONTROL_CHANGED = "settings.intent.action.NETWORK_CONTROL_CHANGED";
    }

    public static final class Dialer {
        public static final String ACTION_SECSPACE_PHONE_CALL = "secspace.intent.action.PHONE_CALL";
        public static final String ACTION_IN_CALL = "secspace.intent.action.IN_CALL";
    }

    public static final class FuckVpn {
        public static final String ACTION_SECSPACE_FUCK_TF_VPN = "secspace.intent.action.FUCK_TF_VPN";
    }

    public static final class BackupTool {
        public static final String ACTION_SECSPACE_RESTORE_START = "secspace.intent.action.RESTORE_START";
        public static final String ACTION_SECSPACE_RESTORE_FAILED = "secspace.intent.action.RESTORE_FAILED";
        public static final String ACTION_SECSPACE_RESTORE_SUCCESS = "secspace.intent.action.RESTORE_SUCCESS";
    }

    public static final class Watermark {
        public static final String ACTION_SECSPACE_PAGE_CHANGE = "secspace.intent.action.PAGE_CHANGE";
    }

    public static final class MiddleWare {
        public static final String ACTION_MDM_DPMSERVICE_ON_CREATE = "middleware.intent.action.DPM_SERVICE_ON_CREATE";
        public static final String ACTION_MDM_DPMSERVICE_ON_STARTCOMMAND = "middleware.intent.action.DPM_SERVICE_ON_STARTCOMMAND";
        public static final String ACTION_MDM_DPMSERVICE_ON_DESTROY = "middleware.intent.action.DPM_SERVICE_ON_DESTROY";
    }

    public static final class OtherMdm {
        public final static String ACTION_ENTER = "com.sec.devicecontrol.action.Enter";
        public final static String ACTION_EXIT = "com.sec.devicecontrol.action.Exit";

        public final static String ACTION_WARNING = "com.sec.action.Warning";
    }

    public static final class MdmOnLine {
        public final static String ACTION_MDM_START_NEW_APP= "mdmonline.intent.action.MDM_START_NEW_APP";
    }

}
