summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java2
1 files changed, 1 insertions, 1 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 755b0327..123150c2 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
@@ -248,7 +248,7 @@ public class AutofillService extends AccessibilityService {
}
private String searchWebView(AccessibilityNodeInfo source, int depth) {
- if (source == null) {
+ if (source == null || depth == 0) {
return null;
}
for (int i = 0; i < source.getChildCount(); i++) {