summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2017-10-30 22:56:19 +0100
committerzeapo <mohamed@zenadi.com>2017-10-30 22:56:19 +0100
commitb315ff6c6fcd6230de4d5e719c34567779256d52 (patch)
tree569263a85ca07a6b50f81afc3d30c440bffc8676
parent57358a86accb9424144314394212951570fc2085 (diff)
seems like the info can be null too
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java1
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) {