aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-30 22:10:13 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-30 22:10:13 -0700
commit07858677d17b21e37652979bd34642698bae4497 (patch)
tree71ac1a269d5c3408673b8cfeba17393637283555 /subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
parent6b4a6a3ae038f2b46c9427427e892d72d83cd670 (diff)
downloaddsub-07858677d17b21e37652979bd34642698bae4497.tar.gz
dsub-07858677d17b21e37652979bd34642698bae4497.tar.bz2
dsub-07858677d17b21e37652979bd34642698bae4497.zip
Remove extra abstraction, fix other cases needing new id method
Diffstat (limited to 'subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index cd20c0e2..9bff7e17 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -63,7 +63,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
int albumListSize;
- SelectDirectoryFragment() {
+ public SelectDirectoryFragment() {
super();
rootId = getNewId();
}
@@ -287,13 +287,6 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
@Override
public void setPrimaryFragment(boolean primary) {
super.setPrimaryFragment(primary);
- if(rootView != null) {
- if(primary) {
- ((ViewGroup)rootView).getChildAt(0).setVisibility(View.VISIBLE);
- } else {
- ((ViewGroup)rootView).getChildAt(0).setVisibility(View.GONE);
- }
- }
}
@Override