Detect if HTC “Fast boot” is enabled

孤街醉人 提交于 2019-11-29 10:51:37

I would suggest looking into the ACTION_USER_PRESENT broadcast which is typically sent when the user unlocks the phone. From what I was able to find about the HTC fast-boot (terrible name, as it conflicts in search results with the regular fastboot), it is just putting the phone in sleep mode and wakes up to a lock screen.

Another alternative to explore is ACTION_SCREEN_ON

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!