aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-10-24 20:35:44 -0700
committerScott Jackson <daneren2005@gmail.com>2013-10-24 20:35:44 -0700
commiteab55ff830dfeb045225307f0bf51cb3cacc01d6 (patch)
tree160ce798d62cfb3028b4b6e55586685be4aa863a /src/github/daneren2005
parenta90dcea84543ebb23b443981b28bb9a370bb8038 (diff)
downloaddsub-eab55ff830dfeb045225307f0bf51cb3cacc01d6.tar.gz
dsub-eab55ff830dfeb045225307f0bf51cb3cacc01d6.tar.bz2
dsub-eab55ff830dfeb045225307f0bf51cb3cacc01d6.zip
Fix orientation recreating list for album lists
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index fbf47899..d73316ae 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -130,7 +130,9 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
albumListType = args.getString(Constants.INTENT_EXTRA_NAME_ALBUM_LIST_TYPE);
albumListExtra = args.getString(Constants.INTENT_EXTRA_NAME_ALBUM_LIST_EXTRA);
albumListSize = args.getInt(Constants.INTENT_EXTRA_NAME_ALBUM_LIST_SIZE, 0);
- entries = (List<MusicDirectory.Entry>) args.getSerializable(Constants.FRAGMENT_LIST);
+ if(entries == null) {
+ entries = (List<MusicDirectory.Entry>) args.getSerializable(Constants.FRAGMENT_LIST);
+ }
}
if(entries == null) {