mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-30 13:52:58 -08:00
Fix temp advanced unlocking #1245
This commit is contained in:
1 parent
b93c6266a6
commit
f79d32b22b
4 files changed
+8
-4
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user