add missing recursion stop to depth 10
This commit is contained in:
parent
33821659ae
commit
79869b4fc6
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue