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:
@@ -507,7 +507,9 @@ public class ChooseLockPattern extends PreferenceActivity {
|
||||
LockPatternUtils utils = mChooseLockSettingsHelper.utils();
|
||||
final boolean lockVirgin = !utils.isPatternEverChosen();
|
||||
|
||||
utils.saveLockPattern(mChosenPattern);
|
||||
final boolean isFallback = getActivity().getIntent()
|
||||
.getBooleanExtra(LockPatternUtils.LOCKSCREEN_BIOMETRIC_WEAK_FALLBACK, false);
|
||||
utils.saveLockPattern(mChosenPattern, isFallback);
|
||||
utils.setLockPatternEnabled(true);
|
||||
|
||||
if (lockVirgin) {
|
||||
|
Reference in New Issue
Block a user