mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 10:28:28 +03:00
just read RootInActiveWindow
This commit is contained in:
parent
86a3f516b1
commit
a8eeb12325
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue