Skip to content

Commit 6fe716f

Browse files
committed
add migration path to old keyguard impl
1 parent ace1045 commit 6fe716f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/main/java/io/snabble/sdk/ui/Keyguard.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import java.util.concurrent.Executors;
2020

21+
import io.snabble.sdk.Snabble;
2122
import io.snabble.sdk.utils.Dispatch;
2223

2324
public class Keyguard {
@@ -111,6 +112,9 @@ private static void success(Callback callback) {
111112
return;
112113
}
113114

115+
// migrate key store stored values to rsa stored values
116+
Snabble.getInstance().getPaymentCredentialsStore().maybeMigrateKeyStoreCredentials();
117+
114118
if (currentCallback != null) {
115119
currentCallback.success();
116120
currentCallback = null;

0 commit comments

Comments
 (0)