From cef20ae44ae807e3a0d3d5f47f7efc5a8354b6d4 Mon Sep 17 00:00:00 2001 From: jchau207 Date: Thu, 14 May 2020 14:14:55 +0900 Subject: [PATCH] fixing non-version override bug --- .../java/com/bitcoin/securepreferences/SecureStringEncrypter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securepreferences/src/main/java/com/bitcoin/securepreferences/SecureStringEncrypter.kt b/securepreferences/src/main/java/com/bitcoin/securepreferences/SecureStringEncrypter.kt index 38ff83d..5d5b481 100644 --- a/securepreferences/src/main/java/com/bitcoin/securepreferences/SecureStringEncrypter.kt +++ b/securepreferences/src/main/java/com/bitcoin/securepreferences/SecureStringEncrypter.kt @@ -62,7 +62,7 @@ class SecureStringEncrypter(context: Context, private val namespace: String) { value ) VERSION_AES_KEY_STORE_RSA -> encryptStringUsingAesThenKeystoreRsa(value) - else -> encryptString(value, plainTextFallback) + else -> encryptString(value) } } catch (e: Exception) { if (plainTextFallback) {