add support for kiwi browser

This commit is contained in:
Kyle Spearrin 2018-06-29 13:48:47 -04:00
parent e5e3ebdbba
commit ac027ee3a0
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ namespace Bit.Android.Autofill
"com.google.android.apps.chrome","com.google.android.apps.chrome_dev","com.yandex.browser", "com.google.android.apps.chrome","com.google.android.apps.chrome_dev","com.yandex.browser",
"com.sec.android.app.sbrowser","com.sec.android.app.sbrowser.beta","org.codeaurora.swe.browser", "com.sec.android.app.sbrowser","com.sec.android.app.sbrowser.beta","org.codeaurora.swe.browser",
"com.amazon.cloud9","org.mozilla.klar","com.duckduckgo.mobile.android","mark.via.gp","org.bromite.bromite", "com.amazon.cloud9","org.mozilla.klar","com.duckduckgo.mobile.android","mark.via.gp","org.bromite.bromite",
"org.chromium.chrome" "org.chromium.chrome", "com.kiwibrowser.browser"
}; };
public static HashSet<string> ExcludedPackageIds = new HashSet<string> public static HashSet<string> ExcludedPackageIds = new HashSet<string>

View file

@ -66,6 +66,7 @@ namespace Bit.Android
new Browser("com.duckduckgo.mobile.android", "omnibarTextInput"), new Browser("com.duckduckgo.mobile.android", "omnibarTextInput"),
new Browser("mark.via.gp", "aw"), new Browser("mark.via.gp", "aw"),
new Browser("org.bromite.bromite", "url_bar"), new Browser("org.bromite.bromite", "url_bar"),
new Browser("com.kiwibrowser.browser", "url_bar"),
}.ToDictionary(n => n.PackageName); }.ToDictionary(n => n.PackageName);
// Known packages to skip // Known packages to skip
@ -127,7 +128,6 @@ namespace Bit.Android
//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 });
//testNodes.Dispose();
var notificationManager = (NotificationManager)GetSystemService(NotificationService); var notificationManager = (NotificationManager)GetSystemService(NotificationService);
var cancelNotification = true; var cancelNotification = true;