diff options
author | Mohamed <mohamed@zenadi.com> | 2017-09-13 09:06:06 +0200 |
---|---|---|
committer | Mohamed <mohamed@zenadi.com> | 2017-09-13 09:06:06 +0200 |
commit | 79869b4fc66a76b0e9132d42ecba411ba1b41ccc (patch) | |
tree | a4bfb263655f20f28bc7454bf7f4338f284a54de /app/src/main/java/com/zeapo | |
parent | 33821659aec1ac352c1b2cc7a6b830a6838b325b (diff) |
add missing recursion stop to depth 10
Diffstat (limited to 'app/src/main/java/com/zeapo')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 2 |
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++) { |