mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
Merge branch 'master' of https://github.com/zeapo/Android-Password-Store
This commit is contained in:
@@ -212,6 +212,7 @@ public class AutofillService extends AccessibilityService {
|
|||||||
// Match with the app if a webview was not found or one was found but
|
// Match with the app if a webview was not found or one was found but
|
||||||
// there's no title or url to go by
|
// there's no title or url to go by
|
||||||
if (webViewTitle == null || (webViewTitle.equals("") && webViewURL == null)) {
|
if (webViewTitle == null || (webViewTitle.equals("") && webViewURL == null)) {
|
||||||
|
if (info.getPackageName() == null) return;
|
||||||
packageName = info.getPackageName().toString();
|
packageName = info.getPackageName().toString();
|
||||||
|
|
||||||
// get the app name and find a corresponding password
|
// get the app name and find a corresponding password
|
||||||
@@ -248,7 +249,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