do not put anything in the clipboard when clearing it
This commit is contained in:
parent
ddd81d8f7e
commit
8d5473a543
2 changed files with 2 additions and 2 deletions
|
@ -499,7 +499,7 @@ public class AutofillService extends AccessibilityService {
|
||||||
clipboard.setPrimaryClip(clip);
|
clipboard.setPrimaryClip(clip);
|
||||||
info.performAction(AccessibilityNodeInfo.ACTION_PASTE);
|
info.performAction(AccessibilityNodeInfo.ACTION_PASTE);
|
||||||
|
|
||||||
clip = ClipData.newPlainText("autofill_pm", "MyPasswordIsDaBest!");
|
clip = ClipData.newPlainText("autofill_pm", "");
|
||||||
clipboard.setPrimaryClip(clip);
|
clipboard.setPrimaryClip(clip);
|
||||||
if (settings.getBoolean("clear_clipboard_20x", false)) {
|
if (settings.getBoolean("clear_clipboard_20x", false)) {
|
||||||
for (int i = 0; i < 19; i++) {
|
for (int i = 0; i < 19; i++) {
|
||||||
|
|
|
@ -363,7 +363,7 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
|
||||||
// only clear the clipboard if we automatically copied the password to it
|
// only clear the clipboard if we automatically copied the password to it
|
||||||
if (settings.getBoolean("copy_on_decrypt", true) && clearClipboard) {
|
if (settings.getBoolean("copy_on_decrypt", true) && clearClipboard) {
|
||||||
Log.d("DELAY_SHOW", "Clearing the clipboard");
|
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);
|
clipboard.setPrimaryClip(clip);
|
||||||
if (settings.getBoolean("clear_clipboard_20x", false)) {
|
if (settings.getBoolean("clear_clipboard_20x", false)) {
|
||||||
Handler handler = new Handler();
|
Handler handler = new Handler();
|
||||||
|
|
Loading…
Reference in a new issue