Teach settings about PASSWORD_QUALITY_MANAGED constant
Add hooks for adding an option for selecting a managed password as lock credential. By default this option will not be visible. BUG=27923581 Change-Id: Id17bd8074bf23cbcffb96d8576cc760df6f2298a
This commit is contained in:
@@ -150,6 +150,7 @@ public class ScreenPinningSettings extends SettingsPreferenceFragment
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC:
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC:
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_COMPLEX:
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_MANAGED:
|
||||
return R.string.screen_pinning_unlock_password;
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
|
||||
if (mLockPatternUtils.isLockPatternEnabled(UserHandle.myUserId())) {
|
||||
|
Reference in New Issue
Block a user