From 86a3f516b1c505e4f6eb898153ef43e5a9fc2dd8 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 1 Feb 2018 15:29:41 -0500 Subject: [PATCH] test: start processing some event info --- src/Android/AutofillService.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Android/AutofillService.cs b/src/Android/AutofillService.cs index ef7dec52f..296dccffe 100644 --- a/src/Android/AutofillService.cs +++ b/src/Android/AutofillService.cs @@ -84,8 +84,7 @@ namespace Bit.Android { return; } - - /* + try { var root = RootInActiveWindow; @@ -96,6 +95,8 @@ 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(); @@ -203,10 +204,10 @@ namespace Bit.Android notificationManager?.Dispose(); root.Dispose(); e.Dispose(); + */ } // Suppress exceptions so that service doesn't crash catch { } - */ } public override void OnInterrupt()