diff --git a/src/Android/Accessibility/AccessibilityHelpers.cs b/src/Android/Accessibility/AccessibilityHelpers.cs index 6a5e68dd4..5bf28efde 100644 --- a/src/Android/Accessibility/AccessibilityHelpers.cs +++ b/src/Android/Accessibility/AccessibilityHelpers.cs @@ -601,7 +601,12 @@ namespace Bit.Droid.Accessibility public static bool IsAutofillServicePromptVisible(IEnumerable windows) { - return windows?.Any(w => w.Title?.ToLower().Contains("autofill") ?? false) ?? false; + // Autofill framework not available until API 26 + if (Build.VERSION.SdkInt >= BuildVersionCodes.O) + { + return windows?.Any(w => w.Title?.ToLower().Contains("autofill") ?? false) ?? false; + } + return false; } public static int GetNodeHeight(AccessibilityNodeInfo node)