aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-12-06 21:43:18 -0800
committerScott Jackson <daneren2005@gmail.com>2012-12-06 21:43:18 -0800
commit91779a48dcfde020feac716df5666cdecd7a9c06 (patch)
tree7ad368787d7bb8177d5d58139bbbc07a9e35877c /subsonic-android
parent120427988bb76e16b35e48c8c9425d53c651f569 (diff)
parenta353c003178509a7ab29a75df5fb8cda9ae407f7 (diff)
downloaddsub-91779a48dcfde020feac716df5666cdecd7a9c06.tar.gz
dsub-91779a48dcfde020feac716df5666cdecd7a9c06.tar.bz2
dsub-91779a48dcfde020feac716df5666cdecd7a9c06.zip
Merge branch 'master' of https://github.com/daneren2005/Subsonic.git
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
index 7e766985..c6edeef9 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
@@ -468,8 +468,8 @@ public class SubsonicTabActivity extends SherlockActivity {
String genre = genreBox.getText().toString();
String startYear = startYearBox.getText().toString();
String endYear = endYearBox.getText().toString();
- getDownloadService().setShuffleParams(genre.isEmpty() ? null : genre,
- startYear.isEmpty() ? null : startYear, endYear.isEmpty() ? null : endYear);
+ getDownloadService().setShuffleParams((genre.length() == 0) ? null : genre,
+ (startYear.length() == 0) ? null : startYear, (endYear.length() == 0) ? null : endYear);
SharedPreferences.Editor editor = prefs.edit();
editor.putString(Constants.PREFERENCES_KEY_SHUFFLE_START_YEAR, startYear);