diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-12-06 21:43:18 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-12-06 21:43:18 -0800 |
commit | 91779a48dcfde020feac716df5666cdecd7a9c06 (patch) | |
tree | 7ad368787d7bb8177d5d58139bbbc07a9e35877c /subsonic-android | |
parent | 120427988bb76e16b35e48c8c9425d53c651f569 (diff) | |
parent | a353c003178509a7ab29a75df5fb8cda9ae407f7 (diff) | |
download | dsub-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.java | 4 |
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);
|