Search code examples
androidlockscreendevice-admin

How do disable lockscreen in android?


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?


Solution

  • 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