我已将我的应用程序注册为设备管理员,并具有适当的锁屏权限。我可以访问锁定设备的方法,但无法禁用锁屏。
是否有可用的 API 方法来禁用锁定?
最佳答案
Is there an API method available that will disable lock? NO
出于安全原因,不支持此操作。
所有这些东西都被弃用了
Disable/Delay Android Lock Screen Programmatically
Android: remove or disable programmatically the Lock Screen on Samsung Galaxy S2 device
关于android - 如何在android中禁用锁屏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21632217/