summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-05-31 12:57:18 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-05-31 12:57:18 +0530
commit30b6d2346a5ee856a7af49a62c274f7d979d7c2a (patch)
tree343018f851dc15e371b404740dc1eaedc3bb1c37 /app/src/main/java
parent8c0bce3e98b6c7e7351e15e9e4fa9f2f7cc99c0d (diff)
Fix instrumentation tests
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt2
1 files changed, 1 insertions, 1 deletions
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<String> by lazy { settings.getStringSet("openpgp_key_ids_set", emptySet()) }
private var mServiceConnection: OpenPgpServiceConnection? = null