-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lockscreen requirements #76
Comments
see https://developer.android.com/reference/android/app/admin/DevicePolicyManager#getPasswordComplexity() for ensuring there's a password of sufficient complexity. |
I have created #1861 to allow app developers to declare lock screen policy. However, the PR only supports API 27+. In addition, the PR only supports |
Add lockscreen requirements in the SDK
https://developer.android.com/reference/android/app/KeyguardManager#isDeviceSecure()
Please note that this API is available from API level 23, and the SDK's min API level is 21. We can probably fall back to https://developer.android.com/reference/android/app/KeyguardManager#isKeyguardSecure() for API<23.
The text was updated successfully, but these errors were encountered: