From 30b6d2346a5ee856a7af49a62c274f7d979d7c2a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 31 May 2019 12:57:18 +0530 Subject: Fix instrumentation tests Signed-off-by: Harsh Shandilya --- app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/com') diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt index 7d782a05..d12dee78 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt @@ -83,7 +83,7 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound { } private val relativeParentPath: String by lazy { getParentPath(fullPath, repoPath) } - private val settings: SharedPreferences by lazy { PreferenceManager.getDefaultSharedPreferences(this) } + val settings: SharedPreferences by lazy { PreferenceManager.getDefaultSharedPreferences(this) } private val keyIDs: MutableSet by lazy { settings.getStringSet("openpgp_key_ids_set", emptySet()) } private var mServiceConnection: OpenPgpServiceConnection? = null -- cgit v1.2.3