some unlock methods can have a backup which gives the user another way to get into the device . this is currently only supported for biometric and pattern unlock . concode_field_sep LockPatternUtils mLockPatternUtils concode_elem_sep Context mContext concode_field_sep boolean isBiometricUnlockEnabled concode_elem_sep SecurityMode getSecurityMode concode_elem_sep boolean isBiometricUnlockSuppressed concode_elem_sep SecurityMode getAlternateFor concode_elem_sep void setLockPatternUtils
SecurityMode function ( SecurityMode arg0 ) { switch ( arg0 ) { case Biometric : return getSecurityMode ( ) ; case Pattern : return SecurityMode . Account ; } return arg0 ; }