aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMohamed <mohamed@zenadi.com>2017-09-13 09:06:06 +0200
committerMohamed <mohamed@zenadi.com>2017-09-13 09:06:06 +0200
commit79869b4fc66a76b0e9132d42ecba411ba1b41ccc (patch)
treea4bfb263655f20f28bc7454bf7f4338f284a54de /app
parent33821659aec1ac352c1b2cc7a6b830a6838b325b (diff)
add missing recursion stop to depth 10
Diffstat (limited to 'app')
-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++) {