mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-24 16:38:22 +01:00
thread sleeps
This commit is contained in:
parent
9b8bdb0639
commit
ee8c2b5272
@ -438,7 +438,8 @@ namespace Bit.Android
|
||||
}
|
||||
|
||||
private NodeList GetWindowNodes(AccessibilityNodeInfo n, AccessibilityEvent e,
|
||||
Func<AccessibilityNodeInfo, bool> condition, bool disposeIfUnused, NodeList nodes = null, int j = 0)
|
||||
Func<AccessibilityNodeInfo, bool> condition, bool disposeIfUnused, NodeList nodes = null,
|
||||
int recursiveIterations = 0)
|
||||
{
|
||||
if(nodes == null)
|
||||
{
|
||||
@ -456,8 +457,9 @@ namespace Bit.Android
|
||||
|
||||
for(var i = 0; i < n.ChildCount; i++)
|
||||
{
|
||||
var c = n.GetChild(i);
|
||||
GetWindowNodes(c, e, condition, true, nodes, j++);
|
||||
System.Threading.Thread.Sleep(10);
|
||||
var childNode = n.GetChild(i);
|
||||
GetWindowNodes(childNode, e, condition, true, nodes, recursiveIterations++);
|
||||
}
|
||||
|
||||
if(dispose)
|
||||
|
Loading…
Reference in New Issue
Block a user