From e0350043d0cb95999335ac746154c2c3f3129616 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 10 Aug 2020 18:48:11 +0530 Subject: Disable automatic copy on decrypt by default (#1006) Fixes #476 Signed-off-by: Harsh Shandilya --- CHANGELOG.md | 1 + app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 128274c0..af559a43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. - Slightly reduce APK size - Always show the parent path in entries +- Passwords will no longer be copied to the clipboard by default ### Fixed 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 cc70dcc1..79f9e6da 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt @@ -206,7 +206,7 @@ class DecryptActivity : BasePgpActivity(), OpenPgpServiceConnection.OnBound { } } - if (settings.getBoolean(PreferenceKeys.COPY_ON_DECRYPT, true)) { + if (settings.getBoolean(PreferenceKeys.COPY_ON_DECRYPT, false)) { copyPasswordToClipboard(entry.password) } } catch (e: Exception) { -- cgit v1.2.3