Added sbrowser beta to supported browsers list

This commit is contained in:
Kyle Spearrin 2017-03-09 20:22:06 -05:00
parent 375f23ac9e
commit ac6e95c442

View file

@ -34,6 +34,7 @@ namespace Bit.Android
new Browser("com.google.android.apps.chrome_dev", "url_bar"),
new Browser("org.iron.srware", "url_bar"),
new Browser("com.sec.android.app.sbrowser", "sbrowser_url_bar"),
new Browser("com.sec.android.app.sbrowser.beta", "location_bar_edit_text"),
new Browser("com.yandex.browser", "bro_omnibar_address_title_text",
(s) => s.Split(' ').FirstOrDefault()),
new Browser("org.mozilla.firefox", "url_bar_title"),
@ -62,11 +63,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 notificationManager = (NotificationManager)GetSystemService(NotificationService);
switch(e.EventType)