Fix 5185505: Add weak biometric sensors to security choices.
This adds a simple biometric sensor (face lock) to the security choices. Updated to disable biometric sensor by default. Change-Id: I088e5e99cf5f8c7a06a1a992a9257940eb2cc07f
This commit is contained in:
@@ -106,6 +106,8 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
||||
} else {
|
||||
resid = R.xml.security_settings_chooser;
|
||||
}
|
||||
} else if (mLockPatternUtils.usingBiometricWeak()) {
|
||||
resid = R.xml.security_settings_biometric_weak;
|
||||
} else {
|
||||
switch (mLockPatternUtils.getKeyguardStoredPasswordQuality()) {
|
||||
case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
|
||||
@@ -120,6 +122,7 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
||||
resid = R.xml.security_settings_password;
|
||||
break;
|
||||
}
|
||||
// TODO: enable facepass options
|
||||
}
|
||||
addPreferencesFromResource(resid);
|
||||
|
||||
|
Reference in New Issue
Block a user