From 4653fa2c104cfe66fe3930ab8ba78e53b03bb36d Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Sat, 7 Nov 2015 18:18:13 -0500 Subject: Search for android.webkit.webview --- app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') 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 6d7c84ed..9b4b7172 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java @@ -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)) { -- cgit v1.2.3