From c96cf2b0e5a96273333a78a2e590ebf75e2b11d8 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 22 Jul 2017 23:31:38 -0400 Subject: [PATCH] update samsung browser url view id --- src/Android/AutofillService.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Android/AutofillService.cs b/src/Android/AutofillService.cs index 095f55f20..ace8dffa3 100644 --- a/src/Android/AutofillService.cs +++ b/src/Android/AutofillService.cs @@ -36,7 +36,7 @@ namespace Bit.Android new Browser("com.google.android.apps.chrome_dev", "url_bar"), new Browser("org.codeaurora.swe.browser", "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", "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()), @@ -75,11 +75,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;