Browse Source

Fixed BitSnoop site name to enable its search provider.

pull/11/head
Eric Kok 12 years ago
parent
commit
6ccff0b02a
  1. 2
      android/.classpath
  2. 4
      android/AndroidManifest.xml
  3. 6
      android/src/org/transdroid/preferences/Preferences.java

2
android/.classpath

@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/Transdroid Torrent Connect"/> <classpathentry combineaccessrules="false" exported="true" kind="src" path="/Transdroid Torrent Connect"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>

4
android/AndroidManifest.xml

@ -18,8 +18,8 @@
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.transdroid" package="org.transdroid"
android:versionName="1.1.15" android:versionName="1.1.16"
android:versionCode="160" android:versionCode="161"
android:installLocation="auto"> android:installLocation="auto">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" /> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" />

6
android/src/org/transdroid/preferences/Preferences.java

@ -630,7 +630,7 @@ public class Preferences {
*/ */
public static List<SiteSettings> getSupportedSiteSettings() { public static List<SiteSettings> getSupportedSiteSettings() {
List<SiteSettings> settings = new ArrayList<SiteSettings>(); List<SiteSettings> settings = new ArrayList<SiteSettings>();
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_extratorrent", "ExtraTorrent"));
settings.add(new SiteSettings("site_isohunt", "isoHunt")); settings.add(new SiteSettings("site_isohunt", "isoHunt"));
settings.add(new SiteSettings("site_kickasstorrents", "KickassTorrents")); settings.add(new SiteSettings("site_kickasstorrents", "KickassTorrents"));
@ -653,7 +653,7 @@ public class Preferences {
*/ */
public static String getCursorKeyForPreferencesKey(String preferencesKey) { public static String getCursorKeyForPreferencesKey(String preferencesKey) {
if (preferencesKey.equals("site_bitsnoop")) { if (preferencesKey.equals("site_bitsnoop")) {
return "Bitsnoop"; return "BitSnoop";
} else if (preferencesKey.equals("site_extratorrent")) { } else if (preferencesKey.equals("site_extratorrent")) {
return "ExtraTorrent"; return "ExtraTorrent";
} else if (preferencesKey.equals("site_isohunt")) { } else if (preferencesKey.equals("site_isohunt")) {
@ -682,7 +682,7 @@ public class Preferences {
public static SiteSettings getSupportedSiteSetting(String preferencesKey) { public static SiteSettings getSupportedSiteSetting(String preferencesKey) {
if (preferencesKey.equals("site_bitsnoop")) { if (preferencesKey.equals("site_bitsnoop")) {
return new SiteSettings(preferencesKey, "Bitsnoop"); return new SiteSettings(preferencesKey, "BitSnoop");
} else if (preferencesKey.equals("site_extratorrent")) { } else if (preferencesKey.equals("site_extratorrent")) {
return new SiteSettings(preferencesKey, "ExtraTorrent"); return new SiteSettings(preferencesKey, "ExtraTorrent");
} else if (preferencesKey.equals("site_isohunt")) { } else if (preferencesKey.equals("site_isohunt")) {

Loading…
Cancel
Save