diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-10-05 08:29:44 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-05 08:29:44 +0530 |
| commit | 3ddd06679f1e666716391450adaa687db33332c7 (patch) | |
| tree | 23c766dda568b513b3940200c9f7bcbc214591fa /app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt | |
| parent | 8a4316067396e6a0a5490e727197cf843d3f4ec6 (diff) | |
| download | HardenedPass-3ddd06679f1e666716391450adaa687db33332c7.tar.gz HardenedPass-3ddd06679f1e666716391450adaa687db33332c7.zip | |
Resolve lock contention from lazy delegates (#1135)
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt index 3685cb17..cb43534d 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt @@ -39,7 +39,7 @@ class DecryptActivity : BasePgpActivity(), OpenPgpServiceConnection.OnBound { private val binding by viewBinding(DecryptLayoutBinding::inflate) - private val relativeParentPath by lazy { getParentPath(fullPath, repoPath) } + private val relativeParentPath by lazy(LazyThreadSafetyMode.NONE) { getParentPath(fullPath, repoPath) } private var passwordEntry: PasswordEntry? = null private val userInteractionRequiredResult = registerForActivityResult(StartIntentSenderForResult()) { result -> |
