diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-22 11:08:47 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-22 11:08:47 -0700 |
commit | ae808c061c2e20035fc443904ef64b4152075e41 (patch) | |
tree | d3c573fb580cd87966d74df0e952c712dce0d788 /src/github | |
parent | a978bd86b4f29cd2638fda716603e4bf9cc85c0e (diff) | |
download | dsub-ae808c061c2e20035fc443904ef64b4152075e41.tar.gz dsub-ae808c061c2e20035fc443904ef64b4152075e41.tar.bz2 dsub-ae808c061c2e20035fc443904ef64b4152075e41.zip |
Only load bookmarks if online and version is high enough
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java index a3a65a72..033f5f3d 100644 --- a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java +++ b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java @@ -470,7 +470,9 @@ public class SubsonicFragmentActivity extends SubsonicActivity { private void loadSession() {
loadSettings();
- loadBookmarks();
+ if(!Util.isOffline(this) && ServerInfo.checkServerVersion(this, "1.9")) {
+ loadBookmarks();
+ }
sessionInitialized = true;
}
|