seems like the info can be null too

This commit is contained in:
zeapo 2017-10-30 22:56:19 +01:00
parent 57358a86ac
commit b315ff6c6f

View file

@ -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) {