How do disable lockscreen in android?

故事扮演 提交于 2019-12-18 06:31:10

问题


I have my app registered as device administrator, with the appropriate lock screen permissions. I can access the method to lock the device, but cannot disable lockscreen.

Is there an API method available that will disable lock?


回答1:


Is there an API method available that will disable lock? NO

this is not supported, for security reasons.

all of that stuff was deprecated

Disable/Delay Android Lock Screen Programmatically

Android: remove or disable programmatically the Lock Screen on Samsung Galaxy S2 device



来源:https://stackoverflow.com/questions/21632217/how-do-disable-lockscreen-in-android

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