From 1a4ba3682097b1255753b17405a9e84fa6c44c42 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 3 Apr 2018 16:08:11 -0400 Subject: [PATCH] add support for via browser --- src/Android/AutofillService.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Android/AutofillService.cs b/src/Android/AutofillService.cs index fe4c389c3..679ddfde9 100644 --- a/src/Android/AutofillService.cs +++ b/src/Android/AutofillService.cs @@ -62,7 +62,8 @@ namespace Bit.Android new Browser("acr.browser.lightning", "search"), new Browser("acr.browser.barebones", "search"), new Browser("com.microsoft.emmx", "url_bar"), - new Browser("com.duckduckgo.mobile.android", "omnibarTextInput") + new Browser("com.duckduckgo.mobile.android", "omnibarTextInput"), + new Browser("mark.via.gp", "aw") }.ToDictionary(n => n.PackageName); // Known packages to skip @@ -122,9 +123,9 @@ 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(); + 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(); var notificationManager = (NotificationManager)GetSystemService(NotificationService); var cancelNotification = true;