diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-10-24 20:35:44 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-10-24 20:35:44 -0700 |
commit | eab55ff830dfeb045225307f0bf51cb3cacc01d6 (patch) | |
tree | 160ce798d62cfb3028b4b6e55586685be4aa863a /src/github/daneren2005 | |
parent | a90dcea84543ebb23b443981b28bb9a370bb8038 (diff) | |
download | dsub-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.java | 4 |
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) {
|