1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-10-01 04:27:39 +02:00

add support for CM browser

This commit is contained in:
Kyle Spearrin 2017-02-16 23:09:40 -05:00
parent be9db2930f
commit fb564fa817

View File

@ -48,7 +48,8 @@ namespace Bit.Android
new Browser("com.jerky.browser2", "enterUrl"),
new Browser("com.mx.browser", "address_editor_with_progress"),
new Browser("com.mx.browser.tablet", "address_editor_with_progress"),
new Browser("com.linkbubble.playstore", "url_text")
new Browser("com.linkbubble.playstore", "url_text"),
new Browser("com.ksmobile.cb", "address_bar_edit_text")
}.ToDictionary(n => n.PackageName);
public override void OnAccessibilityEvent(AccessibilityEvent e)
@ -61,6 +62,11 @@ namespace Bit.Android
return;
}
/*
var testNodes = GetWindowNodes(root, e, n => n.ViewIdResourceName != null && n.Text != null)
.Select(n => new { id = n.ViewIdResourceName, text = n.Text });
*/
switch(e.EventType)
{
case EventTypes.WindowContentChanged: