mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
Fix for accessibility overlay on Android 5 & 6 (#965)
* Fix for accessibility overlay on Android 5 & 6 * changed to skip check outright until API 26
This commit is contained in:
parent
5da2f3279b
commit
183834689d
1 changed files with 6 additions and 1 deletions
|
@ -600,9 +600,14 @@ namespace Bit.Droid.Accessibility
|
|||
}
|
||||
|
||||
public static bool IsAutofillServicePromptVisible(IEnumerable<AccessibilityWindowInfo> windows)
|
||||
{
|
||||
// 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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue