diff options
author | Matthew Wong <wongma7@outlook.com> | 2015-11-06 00:01:03 -0500 |
---|---|---|
committer | Matthew Wong <wongma@protonmail.ch> | 2015-11-07 20:17:44 -0500 |
commit | d68c06a4a6a06a2b27889d9907b2188607d98572 (patch) | |
tree | 6e8b56d684f1c7a4e64a4acc95a7fa300af1ec4e /app/src/main | |
parent | 28eae3356739984f2c5057fa15b10e64917deb62 (diff) |
Let dialog be null
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 2 |
1 files changed, 2 insertions, 0 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 05e10b90..e694dfa4 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java @@ -106,6 +106,7 @@ public class AutofillService extends AccessibilityService { } // if it was not a click, the field was refocused or another field was focused; recreate dialog.dismiss(); + dialog = null; } // ignore the ACTION_FOCUS from decryptAndVerify otherwise dialog will appear after Fill @@ -175,6 +176,7 @@ public class AutofillService extends AccessibilityService { } if (dismiss && dialog != null && dialog.isShowing()) { dialog.dismiss(); + dialog = null; } } |