开发者

Android How to back to sleep mode after staying awake(WAKE LOCK)

I 'm using Wake Lock to stay awake m开发者_如何学编程y phone. I want to activate sleep mode when I will push the button "Activate"

How can I activate sleep mode?


How can I activate sleep mode?

You don't. The phone will go to sleep after it has been inactive for the user-specified period and after any other application holding an acquired WakeLock releases it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜