add support for via browser

This commit is contained in:
Kyle Spearrin 2018-04-03 16:08:11 -04:00
parent ddeae3b5ba
commit 1a4ba36820

View file

@ -62,7 +62,8 @@ namespace Bit.Android
new Browser("acr.browser.lightning", "search"), new Browser("acr.browser.lightning", "search"),
new Browser("acr.browser.barebones", "search"), new Browser("acr.browser.barebones", "search"),
new Browser("com.microsoft.emmx", "url_bar"), 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); }.ToDictionary(n => n.PackageName);
// Known packages to skip // Known packages to skip
@ -122,9 +123,9 @@ 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();
var notificationManager = (NotificationManager)GetSystemService(NotificationService); var notificationManager = (NotificationManager)GetSystemService(NotificationService);
var cancelNotification = true; var cancelNotification = true;