fix issue with QuickUnlock and Note 4 (hopefully)

This commit is contained in:
Philipp Crocoll 2016-05-25 05:24:47 +02:00
parent 832722a90e
commit ff77a04710

View File

@ -214,10 +214,11 @@ namespace keepass2android
if (_fingerprintPermissionGranted)
{
FingerprintModule fpModule = new FingerprintModule(this);
_fingerprintIdentifier = new FingerprintDecryption(fpModule, App.Kp2a.GetDb().CurrentFingerprintPrefKey, this,
App.Kp2a.GetDb().CurrentFingerprintPrefKey);
if (fpModule.FingerprintManager.IsHardwareDetected) //see FingerprintSetupActivity
_fingerprintIdentifier = new FingerprintDecryption(fpModule, App.Kp2a.GetDb().CurrentFingerprintPrefKey, this,
App.Kp2a.GetDb().CurrentFingerprintPrefKey);
}
else
if (_fingerprintIdentifier == null)
{
try
{