mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-29 12:45:20 +01:00
just read RootInActiveWindow
This commit is contained in:
parent
86a3f516b1
commit
a8eeb12325
@ -88,6 +88,8 @@ namespace Bit.Android
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var root = RootInActiveWindow;
|
var root = RootInActiveWindow;
|
||||||
|
|
||||||
|
/*
|
||||||
if(e == null || root == null || string.IsNullOrWhiteSpace(e.PackageName) ||
|
if(e == null || root == null || string.IsNullOrWhiteSpace(e.PackageName) ||
|
||||||
e.PackageName == SystemUiPackage || e.PackageName.Contains("launcher") ||
|
e.PackageName == SystemUiPackage || e.PackageName.Contains("launcher") ||
|
||||||
root.PackageName != e.PackageName)
|
root.PackageName != e.PackageName)
|
||||||
@ -95,8 +97,6 @@ namespace Bit.Android
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
//var testNodes = GetWindowNodes(root, e, n => n.ViewIdResourceName != null && n.Text != null, false);
|
//var testNodes = GetWindowNodes(root, e, n => n.ViewIdResourceName != null && n.Text != null, false);
|
||||||
//var testNodesData = testNodes.Select(n => new { id = n.ViewIdResourceName, text = n.Text });
|
//var testNodesData = testNodes.Select(n => new { id = n.ViewIdResourceName, text = n.Text });
|
||||||
//testNodes.Dispose();
|
//testNodes.Dispose();
|
||||||
|
Loading…
Reference in New Issue
Block a user