fix: Passkey multiple instance #2215

This commit is contained in:
J-Jamet
2025-10-15 20:09:27 +02:00
parent ae42ab43b7
commit 5fe4af8e9d
2 changed files with 4 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ class HardwareKeyActivity: DatabaseModeActivity(){
context,
HardwareKeyActivity::class.java).apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK or
Intent.FLAG_ACTIVITY_CLEAR_TASK
Intent.FLAG_ACTIVITY_MULTIPLE_TASK
addHardwareKey(hardwareKey)
addSeed(seed)
})

View File

@@ -716,9 +716,9 @@ open class DatabaseTaskNotificationService : LockNotificationService(), Progress
notifyProgressMessage()
HardwareKeyActivity
.launchHardwareKeyActivity(
this@DatabaseTaskNotificationService,
hardwareKey,
seed
context = this@DatabaseTaskNotificationService,
hardwareKey = hardwareKey,
seed = seed
)
// Wait the response
mProgressMessage.apply {