From 6ccff0b02a163c1de80374b8c3cc6dc47f5c91b0 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Sat, 22 Jun 2013 13:17:09 +0200 Subject: [PATCH] Fixed BitSnoop site name to enable its search provider. --- android/.classpath | 2 +- android/AndroidManifest.xml | 4 ++-- android/src/org/transdroid/preferences/Preferences.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/.classpath b/android/.classpath index 6601aeaa..348383ad 100644 --- a/android/.classpath +++ b/android/.classpath @@ -3,7 +3,7 @@ - + diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index cb1645a5..688de5ac 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -18,8 +18,8 @@ --> diff --git a/android/src/org/transdroid/preferences/Preferences.java b/android/src/org/transdroid/preferences/Preferences.java index 1948670e..71972a74 100644 --- a/android/src/org/transdroid/preferences/Preferences.java +++ b/android/src/org/transdroid/preferences/Preferences.java @@ -630,7 +630,7 @@ public class Preferences { */ public static List getSupportedSiteSettings() { List settings = new ArrayList(); - settings.add(new SiteSettings("site_bitsnoop", "Bitsnoop")); + settings.add(new SiteSettings("site_bitsnoop", "BitSnoop")); settings.add(new SiteSettings("site_extratorrent", "ExtraTorrent")); settings.add(new SiteSettings("site_isohunt", "isoHunt")); settings.add(new SiteSettings("site_kickasstorrents", "KickassTorrents")); @@ -653,7 +653,7 @@ public class Preferences { */ public static String getCursorKeyForPreferencesKey(String preferencesKey) { if (preferencesKey.equals("site_bitsnoop")) { - return "Bitsnoop"; + return "BitSnoop"; } else if (preferencesKey.equals("site_extratorrent")) { return "ExtraTorrent"; } else if (preferencesKey.equals("site_isohunt")) { @@ -682,7 +682,7 @@ public class Preferences { public static SiteSettings getSupportedSiteSetting(String preferencesKey) { if (preferencesKey.equals("site_bitsnoop")) { - return new SiteSettings(preferencesKey, "Bitsnoop"); + return new SiteSettings(preferencesKey, "BitSnoop"); } else if (preferencesKey.equals("site_extratorrent")) { return new SiteSettings(preferencesKey, "ExtraTorrent"); } else if (preferencesKey.equals("site_isohunt")) {