Fix temp advanced unlocking #1245

This commit is contained in:
J-Jamet
2022-02-26 12:45:59 +01:00
parent b93c6266a6
commit f79d32b22b
4 changed files with 8 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ KeePassDX(3.3.1)
* Fix Japanese keyboard in search #1248
* Better OOM management #256
* Fix filters #1249
* Fix temp advanced unlocking #1245
KeePassDX(3.3.0)
* Quick search and dynamic filters #163 #462 #521

View File

@@ -130,8 +130,9 @@ class CipherDatabaseAction(context: Context) {
cipherDatabaseResultListener: (CipherEncryptDatabase?) -> Unit) {
if (useTempDao) {
serviceActionTask {
var cipherDatabase: CipherEncryptDatabase? = null
mBinder?.getCipherDatabase(databaseUri)?.let { cipherDatabaseEntity ->
val cipherDatabase = CipherEncryptDatabase().apply {
cipherDatabase = CipherEncryptDatabase().apply {
this.databaseUri = Uri.parse(cipherDatabaseEntity.databaseUri)
this.encryptedValue = Base64.decode(
cipherDatabaseEntity.encryptedValue,
@@ -142,8 +143,8 @@ class CipherDatabaseAction(context: Context) {
Base64.NO_WRAP
)
}
cipherDatabaseResultListener.invoke(cipherDatabase)
}
cipherDatabaseResultListener.invoke(cipherDatabase)
}
} else {
IOActionTask(

View File

@@ -1,3 +1,4 @@
* Fix Japanese keyboard in search #1248
* Better OOM management #256
* Fix filters #1249
* Fix filters #1249
* Fix temp advanced unlocking #1245

View File

@@ -1,3 +1,4 @@
* Correction du clavier japonais dans la recherche #1248
* Meilleur gestion d'OOM #256
* Correction des filtres #1249
* Correction des filtres #1249
* Correction du déverouillage avancé temporaire #1245