mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix small bugs #805
This commit is contained in:
@@ -3,6 +3,7 @@ KeePassDX(2.9.3)
|
|||||||
* Remove default database parameter when the file is no longer accessible #803
|
* Remove default database parameter when the file is no longer accessible #803
|
||||||
* Move OTP button to the first view level in Magikeyboard #587
|
* Move OTP button to the first view level in Magikeyboard #587
|
||||||
* Tooltips for Magikeyboard #586
|
* Tooltips for Magikeyboard #586
|
||||||
|
* Fix small bugs #805
|
||||||
|
|
||||||
KeePassDX(2.9.2)
|
KeePassDX(2.9.2)
|
||||||
* Managing OTP links from QR applications #556
|
* Managing OTP links from QR applications #556
|
||||||
|
|||||||
@@ -200,13 +200,35 @@ class AdvancedUnlockedManager(var context: FragmentActivity,
|
|||||||
advancedUnlockInfoView?.setIconViewClickListener(false, null)
|
advancedUnlockInfoView?.setIconViewClickListener(false, null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
|
private fun openBiometricSetting() {
|
||||||
|
advancedUnlockInfoView?.setIconViewClickListener(false) {
|
||||||
|
when {
|
||||||
|
/*
|
||||||
|
Build.VERSION.SDK_INT >= Build.VERSION_CODES.R -> {
|
||||||
|
// Need parameters and result parser
|
||||||
|
context.startActivityForResult(Intent(Settings.ACTION_BIOMETRIC_ENROLL),
|
||||||
|
ACTION_BIOMETRIC_ENROLL_REQUEST_CODE)
|
||||||
|
}
|
||||||
|
Build.VERSION.SDK_INT >= Build.VERSION_CODES.P -> {
|
||||||
|
// Not working with Xiaomi... (crash after trying to enroll fingerprint
|
||||||
|
context.startActivityForResult(Intent(Settings.ACTION_FINGERPRINT_ENROLL),
|
||||||
|
ACTION_FINGERPRINT_ENROLL_REQUEST_CODE)
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
else -> {
|
||||||
|
// ACTION_SECURITY_SETTINGS do not contains fingerprint enrollment in Xiaomi...
|
||||||
|
context.startActivity(Intent(Settings.ACTION_SETTINGS))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private fun initSecurityUpdateRequired() {
|
private fun initSecurityUpdateRequired() {
|
||||||
showFingerPrintViews(true)
|
showFingerPrintViews(true)
|
||||||
setAdvancedUnlockedTitleView(R.string.biometric_security_update_required)
|
setAdvancedUnlockedTitleView(R.string.biometric_security_update_required)
|
||||||
|
|
||||||
advancedUnlockInfoView?.setIconViewClickListener(false) {
|
openBiometricSetting()
|
||||||
context.startActivity(Intent(Settings.ACTION_SECURITY_SETTINGS))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initNotConfigured() {
|
private fun initNotConfigured() {
|
||||||
@@ -214,18 +236,14 @@ class AdvancedUnlockedManager(var context: FragmentActivity,
|
|||||||
setAdvancedUnlockedTitleView(R.string.configure_biometric)
|
setAdvancedUnlockedTitleView(R.string.configure_biometric)
|
||||||
setAdvancedUnlockedMessageView("")
|
setAdvancedUnlockedMessageView("")
|
||||||
|
|
||||||
advancedUnlockInfoView?.setIconViewClickListener(false) {
|
openBiometricSetting()
|
||||||
context.startActivity(Intent(Settings.ACTION_SECURITY_SETTINGS))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initKeyManagerNotAvailable() {
|
private fun initKeyManagerNotAvailable() {
|
||||||
showFingerPrintViews(true)
|
showFingerPrintViews(true)
|
||||||
setAdvancedUnlockedTitleView(R.string.keystore_not_accessible)
|
setAdvancedUnlockedTitleView(R.string.keystore_not_accessible)
|
||||||
|
|
||||||
advancedUnlockInfoView?.setIconViewClickListener(false) {
|
openBiometricSetting()
|
||||||
context.startActivity(Intent(Settings.ACTION_SECURITY_SETTINGS))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initWaitData() {
|
private fun initWaitData() {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
* Unlock database by device credentials (PIN/Password/Pattern) #779 #102
|
* Unlock database by device credentials (PIN/Password/Pattern) #779 #102
|
||||||
* Remove default database parameter when the file is no longer accessible #803
|
* Remove default database parameter when the file is no longer accessible #803
|
||||||
* Move OTP button to the first view level in Magikeyboard #587
|
* Move OTP button to the first view level in Magikeyboard #587
|
||||||
* Tooltips for Magikeyboard #586
|
* Tooltips for Magikeyboard #586
|
||||||
|
* Fix small bugs #805
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
* Déverouillage de base de données avec identifiants de l'appareil (PIN/Password/Pattern) #779 #102
|
* Déverouillage de base de données avec identifiants de l'appareil (PIN/Password/Pattern) #779 #102
|
||||||
* Supprimer le parmètre de base de données par défaut quand le fichier n'est plus accessible #803
|
* Supprimer le parmètre de base de données par défaut quand le fichier n'est plus accessible #803
|
||||||
* Déplacer le bouton OTP vers le premier niveau de vue dans le Magiclavier #587
|
* Déplacer le bouton OTP vers le premier niveau de vue dans le Magiclavier #587
|
||||||
* Info-bulles pour le Magiclavier #586
|
* Info-bulles pour le Magiclavier #586
|
||||||
|
* Correction petits bugs #805
|
||||||
Reference in New Issue
Block a user