mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 10:58:29 +03:00
[PM-891] Remove check for biometrics from IsLocked method. (#2853)
This commit is contained in:
parent
9506595fdd
commit
c5288d3921
1 changed files with 0 additions and 7 deletions
|
@ -63,13 +63,6 @@ namespace Bit.Core.Services
|
||||||
/// </param>
|
/// </param>
|
||||||
public async Task<bool> IsLockedAsync(string userId = null)
|
public async Task<bool> IsLockedAsync(string userId = null)
|
||||||
{
|
{
|
||||||
// If biometrics are used, we can use the flag to determine locked state
|
|
||||||
var biometricSet = await IsBiometricLockSetAsync(userId);
|
|
||||||
if (biometricSet && await _stateService.GetBiometricLockedAsync(userId))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!await _cryptoService.HasUserKeyAsync(userId))
|
if (!await _cryptoService.HasUserKeyAsync(userId))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in a new issue