1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

just read RootInActiveWindow

This commit is contained in:
Kyle Spearrin 2018-02-01 15:42:07 -05:00
parent 86a3f516b1
commit a8eeb12325

View File

@ -88,6 +88,8 @@ namespace Bit.Android
try
{
var root = RootInActiveWindow;
/*
if(e == null || root == null || string.IsNullOrWhiteSpace(e.PackageName) ||
e.PackageName == SystemUiPackage || e.PackageName.Contains("launcher") ||
root.PackageName != e.PackageName)
@ -95,8 +97,6 @@ namespace Bit.Android
return;
}
/*
//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 });
//testNodes.Dispose();