diff options
author | Mohamed Zenadi <mohamed@zenadi.com> | 2016-12-31 12:35:45 +0100 |
---|---|---|
committer | Mohamed Zenadi <mohamed@zenadi.com> | 2016-12-31 12:35:45 +0100 |
commit | 8d5473a54362b7e9d6ecb47968ee065dd08be3c5 (patch) | |
tree | 516703bb7409c9a72af7aaf7a9d499714c480ef3 | |
parent | ddd81d8f7e91303529d0e64d1ef9710de9044ed0 (diff) |
do not put anything in the clipboard when clearing it
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 2 | ||||
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java index f4bbddc4..8881ecda 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java @@ -499,7 +499,7 @@ public class AutofillService extends AccessibilityService { clipboard.setPrimaryClip(clip); info.performAction(AccessibilityNodeInfo.ACTION_PASTE); - clip = ClipData.newPlainText("autofill_pm", "MyPasswordIsDaBest!"); + clip = ClipData.newPlainText("autofill_pm", ""); clipboard.setPrimaryClip(clip); if (settings.getBoolean("clear_clipboard_20x", false)) { for (int i = 0; i < 19; i++) { 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 095aab9a..848bb1a0 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -363,7 +363,7 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne // only clear the clipboard if we automatically copied the password to it if (settings.getBoolean("copy_on_decrypt", true) && clearClipboard) { Log.d("DELAY_SHOW", "Clearing the clipboard"); - ClipData clip = ClipData.newPlainText("pgp_handler_result_pm", "MyPasswordIsDaBest!"); + ClipData clip = ClipData.newPlainText("pgp_handler_result_pm", ""); clipboard.setPrimaryClip(clip); if (settings.getBoolean("clear_clipboard_20x", false)) { Handler handler = new Handler(); |