Detect programmatically if system lock can be disabled or not in Android?

There are several applications in which the user cannot delete his system security. For example, when the user sets the appearance configured with the exchange, he is prompted to set a PIN / password, after which the "No" and "SLIDER" options are highlighted on the system’s security page.

Can I programmatically determine if NONE or the slider is highlighted or not for this device?

+4
source share

All Articles