监听系统开屏、锁屏、解锁、按下home键、按下多任务键【未完待续】
ScreenReceiverUtil工具类
/**
* Author : 马占柱
* E-mail : [email protected]
* Time : 2021/9/22 9:40
* Desc : 锁屏解锁的广播动态注册监听
*/
public class ScreenReceiverUtil {
private Context mContext;
private SreenBroadcastReceiver mScreenReceiver;
private SreenStateListener mStateReceiverListener;
private final String SYSTEM_DIALOG_REASON_KEY = "reason";
private final String SYSTEM_DIALOG_REASON_HOME_KEY = "homekey";
private final String SYSTEM_DIALOG_REAS
共有 0 条评论