mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
add tf browser
This commit is contained in:
parent
b58c29111a
commit
a0aca3e837
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,7 @@ namespace Bit.Droid.Accessibility
|
||||||
new Browser("jp.co.fenrir.android.sleipnir_black", "url_text"),
|
new Browser("jp.co.fenrir.android.sleipnir_black", "url_text"),
|
||||||
new Browser("jp.co.fenrir.android.sleipnir_test", "url_text"),
|
new Browser("jp.co.fenrir.android.sleipnir_test", "url_text"),
|
||||||
new Browser("com.vivaldi.browser", "url_bar"),
|
new Browser("com.vivaldi.browser", "url_bar"),
|
||||||
|
new Browser("com.feedback.browser.wjbrowser", "addressbar_url"),
|
||||||
}.ToDictionary(n => n.PackageName);
|
}.ToDictionary(n => n.PackageName);
|
||||||
|
|
||||||
// Known packages to skip
|
// Known packages to skip
|
||||||
|
@ -93,6 +94,10 @@ namespace Bit.Droid.Accessibility
|
||||||
{
|
{
|
||||||
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 });
|
||||||
|
foreach(var node in testNodesData)
|
||||||
|
{
|
||||||
|
System.Diagnostics.Debug.WriteLine("Node: {0} = {1}", node.id, node.text);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetUri(AccessibilityNodeInfo root)
|
public static string GetUri(AccessibilityNodeInfo root)
|
||||||
|
|
Loading…
Reference in a new issue