Search for android.webkit.webview

This commit is contained in:
Matthew Wong
2015-11-07 18:18:13 -05:00
parent 7a9ed6897d
commit 4653fa2c10

View File

@@ -151,7 +151,8 @@ public class AutofillService extends AccessibilityService {
continue;
}
// this is not likely to always work
if (u.getContentDescription() != null && u.getContentDescription().equals("Web View")) {
if (u.getContentDescription() != null && u.getContentDescription().equals("Web View")
|| u.getClassName() != null && u.getClassName().equals("android.webkit.WebView")) {
return true;
}
if (searchWebView(u)) {