Browse Source

Fixed BitSnoop site name to enable its search provider.

pull/11/head
Eric Kok 11 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 @@ @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<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.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 kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>

4
android/AndroidManifest.xml

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

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

@ -630,7 +630,7 @@ public class Preferences { @@ -630,7 +630,7 @@ public class Preferences {
*/
public static List<SiteSettings> getSupportedSiteSettings() {
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_isohunt", "isoHunt"));
settings.add(new SiteSettings("site_kickasstorrents", "KickassTorrents"));
@ -653,7 +653,7 @@ public class Preferences { @@ -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 { @@ -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")) {

Loading…
Cancel
Save