Skip to content

Commit 56d6033

Browse files
committed
make it sync
1 parent ea6e160 commit 56d6033

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

datapipelines/src/main/kotlin/io/customer/datapipelines/store/PreferenceCrypto.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ internal class PreferenceCrypto(
2929
@Volatile
3030
private var cachedKey: SecretKey? = null
3131

32+
@Synchronized
3233
@SuppressLint("NewApi", "InlinedApi")
3334
private fun getOrCreateKey(): SecretKey {
3435
cachedKey?.let { return it }

0 commit comments

Comments
 (0)