package com.android.launcher3.accessibility;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.util.Log;

import com.android.launcher3.R;
import com.android.launcher3.debug.CustomDialog;
import com.android.launcher3.manager.LauncherManager;
import com.android.launcher3.util.PermissionUtil;

/**
 * 关机接收器
 */
public class StopRunReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context mContext, Intent intent) {
        Log.i("launch_debug_show", "关机1");
        if (intent.getAction().equals(Intent.ACTION_SHUTDOWN)){//关机
            /**
             * 隐藏图标
             */
            //PermissionUtil.initLauncherIconIsShow(mContext,false);
            Log.i("launch_debug_show", "关机2");
        }
    }
}
