如题,android 如何判断当前处于熄屏状态?
欢迎选择我的课程,让我们一起见证您的进步~~
There is a system broadcast when the screen is off and on, and the corresponding broadcast action is Intent.ACTION_SCREEN_OFF和Intent.ACTION_SCREEN_ON
Intent.ACTION_SCREEN_OFF
Intent.ACTION_SCREEN_ON
There is a system broadcast when the screen is off and on, and the corresponding broadcast action is
Intent.ACTION_SCREEN_OFF
和Intent.ACTION_SCREEN_ON