summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java3
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)) {