mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
add missing recursion stop to depth 10
This commit is contained in:
@@ -248,7 +248,7 @@ public class AutofillService extends AccessibilityService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String searchWebView(AccessibilityNodeInfo source, int depth) {
|
private String searchWebView(AccessibilityNodeInfo source, int depth) {
|
||||||
if (source == null) {
|
if (source == null || depth == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < source.getChildCount(); i++) {
|
for (int i = 0; i < source.getChildCount(); i++) {
|
||||||
|
Reference in New Issue
Block a user