diff options
author | zeapo <mohamed@zenadi.com> | 2017-10-30 22:56:19 +0100 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2017-10-30 22:56:19 +0100 |
commit | b315ff6c6fcd6230de4d5e719c34567779256d52 (patch) | |
tree | 569263a85ca07a6b50f81afc3d30c440bffc8676 /app/src | |
parent | 57358a86accb9424144314394212951570fc2085 (diff) |
seems like the info can be null too
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 1 |
1 files changed, 1 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 9578df0d..a02aa63f 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java @@ -199,6 +199,7 @@ public class AutofillService extends AccessibilityService { // we are now going to attempt to fill, save AccessibilityNodeInfo for later in decryptAndVerify // (there should be a proper way to do this, although this seems to work 90% of the time) info = event.getSource(); + if (info == null) return; // save the dialog's corresponding window so we can use getWindows() in dismissDialog if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { |