diff options
author | Matthew Wong <wongma@protonmail.ch> | 2015-11-07 18:18:13 -0500 |
---|---|---|
committer | Matthew Wong <wongma@protonmail.ch> | 2015-11-07 20:17:46 -0500 |
commit | 4653fa2c104cfe66fe3930ab8ba78e53b03bb36d (patch) | |
tree | a0794248b130bacf624303979f15ff6f47d0f916 /app/src/main/java | |
parent | 7a9ed6897d598481d61970f79e9989efae178b69 (diff) |
Search for android.webkit.webview
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 3 |
1 files changed, 2 insertions, 1 deletions
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)) { |