diff --git a/src/Android/AutofillService.cs b/src/Android/AutofillService.cs index 7bf32de1e..f30e15e60 100644 --- a/src/Android/AutofillService.cs +++ b/src/Android/AutofillService.cs @@ -42,7 +42,7 @@ namespace Bit.Android new Browser("com.sec.android.app.sbrowser", "location_bar_edit_text"), 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()), + (s) => s.Split(new char[]{' ', ' '}).FirstOrDefault()), // 0 = Regualr Space, 1 = No-break space (00A0) new Browser("org.mozilla.firefox", "url_bar_title"), new Browser("org.mozilla.firefox_beta", "url_bar_title"), new Browser("org.mozilla.focus", "display_url"), @@ -94,9 +94,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;