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, context,
HardwareKeyActivity::class.java).apply { HardwareKeyActivity::class.java).apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK or flags = Intent.FLAG_ACTIVITY_NEW_TASK or
Intent.FLAG_ACTIVITY_CLEAR_TASK Intent.FLAG_ACTIVITY_MULTIPLE_TASK
addHardwareKey(hardwareKey) addHardwareKey(hardwareKey)
addSeed(seed) addSeed(seed)
}) })

View File

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