mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix biometric view flickering
This commit is contained in:
@@ -334,12 +334,12 @@ open class PasswordActivity : SpecialModeActivity() {
|
|||||||
sendBroadcast(Intent(BACK_PREVIOUS_KEYBOARD_ACTION))
|
sendBroadcast(Intent(BACK_PREVIOUS_KEYBOARD_ACTION))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
advancedUnlockInfoView?.visibility = View.GONE
|
||||||
// Don't allow auto open prompt if lock become when UI visible
|
// Don't allow auto open prompt if lock become when UI visible
|
||||||
mAllowAutoOpenBiometricPrompt = if (LockingActivity.LOCKING_ACTIVITY_UI_VISIBLE_DURING_LOCK == true)
|
mAllowAutoOpenBiometricPrompt = if (LockingActivity.LOCKING_ACTIVITY_UI_VISIBLE_DURING_LOCK == true)
|
||||||
false
|
false
|
||||||
else
|
else
|
||||||
mAllowAutoOpenBiometricPrompt
|
mAllowAutoOpenBiometricPrompt
|
||||||
|
|
||||||
mDatabaseFileUri?.let { databaseFileUri ->
|
mDatabaseFileUri?.let { databaseFileUri ->
|
||||||
databaseFileViewModel.loadDatabaseFile(databaseFileUri)
|
databaseFileViewModel.loadDatabaseFile(databaseFileUri)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -327,7 +327,6 @@ class AdvancedUnlockedManager(var context: FragmentActivity,
|
|||||||
biometricUnlockDatabaseHelper?.closeBiometricPrompt()
|
biometricUnlockDatabaseHelper?.closeBiometricPrompt()
|
||||||
// Restore the checked listener
|
// Restore the checked listener
|
||||||
checkboxPasswordView?.setOnCheckedChangeListener(onCheckedPasswordChangeListener)
|
checkboxPasswordView?.setOnCheckedChangeListener(onCheckedPasswordChangeListener)
|
||||||
advancedUnlockInfoView?.visibility = View.GONE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun inflateOptionsMenu(menuInflater: MenuInflater, menu: Menu) {
|
fun inflateOptionsMenu(menuInflater: MenuInflater, menu: Menu) {
|
||||||
|
|||||||
Reference in New Issue
Block a user