package com.magnify.utils;

import android.app.Application;
import android.graphics.drawable.Drawable;

import com.yw.monitor.monitor.FloatMonitor;

/**
 * @author:heinigger 2019/6/14  10:23
 * @function:
 */
public class FloatMonitorImp extends FloatMonitor {


    public FloatMonitorImp(Application mContext, boolean isDebug, Application.ActivityLifecycleCallbacks activityLifecycleCallbacks) {
        super(mContext, isDebug, activityLifecycleCallbacks);
    }

    @Override
    public Drawable getFloatViewIcon() {
        return getContext().getResources().getDrawable(R.drawable.icon_duola);
    }

    @Override
    public String[] getEnv() {
        return new String[]{"test", "灰度测试", "线上测试"};
    }

    @Override
    public void saveEnv(int position) {

    }

    @Override
    public int getCurrentEnvPosition() {
        return 0;
    }
}
