diff options
author | Johannes Baiter <johannes.baiter@gmail.com> | 2014-10-29 11:22:16 +0100 |
---|---|---|
committer | Johannes Baiter <johannes.baiter@gmail.com> | 2014-10-29 11:22:16 +0100 |
commit | 7d4b6683ef446c4a7317fe7cc450533ff18c6061 (patch) | |
tree | 58929fc271fc43647f71abb22c0607d07787a189 /app/src/main/java/com | |
parent | 9822c097cb276aecae3ffa954b5551a5a08de83e (diff) |
Add option to automatically copy password to clipboard after decryption
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java index 5397e026..f2908ebd 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -338,7 +338,9 @@ public class PgpHandler extends ActionBarActivity implements OpenPgpServiceConne .setText(extraContent); } new DelayShow().execute(); - copyToClipBoard(); + if (settings.getBoolean("copy_on_decrypt", true)) { + copyToClipBoard(); + } } else { showToast(os.toString()); } |