From 6dd6eff02c2e0a29a335b36415c464670056fee8 Mon Sep 17 00:00:00 2001 From: DEXTER Date: Sat, 24 Feb 2018 14:06:39 +0100 Subject: [PATCH] PasswordActivity.cs: Do not clear the password field when Yubikey is used to fill in the password entry. --- src/keepass2android/PasswordActivity.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/keepass2android/PasswordActivity.cs b/src/keepass2android/PasswordActivity.cs index 2ab722ed..111260dc 100644 --- a/src/keepass2android/PasswordActivity.cs +++ b/src/keepass2android/PasswordActivity.cs @@ -1770,10 +1770,9 @@ namespace keepass2android if ((intent != null) && (intent.HasExtra(Intents.OtpExtraKey))) { string otp = intent.GetStringExtra(Intents.OtpExtraKey); - + _keepPasswordInOnResume = true; if (this.KeyProviderType == KeyProviders.Otp) { - _keepPasswordInOnResume = true; if (_otpInfo == null) {