aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-03-27 07:09:07 -0700
committerScott Jackson <daneren2005@gmail.com>2014-03-27 07:09:07 -0700
commit9234825603dc0ad93f0dc084ac54539b7c84c931 (patch)
tree411f350ba6789b990fe6f6fde6ced09e4ebcd2f4 /src
parent7d67619f86cdd281ec11820570b7b76948e422a0 (diff)
downloaddsub-9234825603dc0ad93f0dc084ac54539b7c84c931.tar.gz
dsub-9234825603dc0ad93f0dc084ac54539b7c84c931.tar.bz2
dsub-9234825603dc0ad93f0dc084ac54539b7c84c931.zip
Fix crash
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/EqualizerFragment.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/github/daneren2005/dsub/fragments/EqualizerFragment.java b/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
index 07fb9663..9c7f149b 100644
--- a/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
+++ b/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
@@ -65,13 +65,13 @@ public class EqualizerFragment extends SubsonicFragment {
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle bundle) {
rootView = inflater.inflate(R.layout.equalizer, container, false);
- DownloadService service = DownloadService.getInstance();
- equalizerController = service.getEqualizerController();
- equalizer = equalizerController.getEqualizer();
- bass = equalizerController.getBassBoost();
- loudnessEnhancer = equalizerController.getLoudnessEnhancerController();
-
try {
+ DownloadService service = DownloadService.getInstance();
+ equalizerController = service.getEqualizerController();
+ equalizer = equalizerController.getEqualizer();
+ bass = equalizerController.getBassBoost();
+ loudnessEnhancer = equalizerController.getLoudnessEnhancerController();
+
initEqualizer();
} catch(Exception e) {
Log.e(TAG, "Failed to initialize EQ", e);