diff --git a/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/BitwardenAccessibilityService.kt b/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/BitwardenAccessibilityService.kt index f41b85a0b..5c4106866 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/BitwardenAccessibilityService.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/BitwardenAccessibilityService.kt @@ -23,7 +23,7 @@ class BitwardenAccessibilityService : AccessibilityService() { override fun onAccessibilityEvent(event: AccessibilityEvent) { if (rootInActiveWindow?.packageName != event.packageName) return - processor.processAccessibilityEvent(rootAccessibilityNodeInfo = rootInActiveWindow) + processor.processAccessibilityEvent(rootAccessibilityNodeInfo = event.source) } override fun onInterrupt() = Unit diff --git a/app/src/main/res/xml/accessibility_service.xml b/app/src/main/res/xml/accessibility_service.xml index 8ab097fbc..773837d40 100644 --- a/app/src/main/res/xml/accessibility_service.xml +++ b/app/src/main/res/xml/accessibility_service.xml @@ -1,7 +1,7 @@