关于WAKE和WAKE_DROPPED,请教个问题
时间:10-02
整理:3721RD
点击:
在按键配置时,将HOME配成WAKE,那么在休眠时按HOME唤醒,按照WAKE的作用来说,应该是在唤醒后将HOME事件上报给应用层,可是为什么回不到主界面呢,还是回到了进休眠时的那个界面,这样不是和WAKE_DROPPED一样了么,还是我理解有错误。
他只是WAKE,只执行一个事件。HOME事件需要WAKE后在按HOME键才执行。
WAKE: When this key is pressed while the device is asleep, the device will wake up and the key event gets sent to the app.
WAKE_DROPPED: When this key is pressed while the device is asleep, the device will wake up and the key event does not get sent to the app.
按照这个解释按键的消息应该也是上报的吧