aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-05-03 17:27:43 -0700
committerScott Jackson <daneren2005@gmail.com>2014-05-03 17:27:43 -0700
commit6caa792b3545be0d020c4f54e76ef18ad8d9faf3 (patch)
tree38c2193b042b534ee51f8dcde3c4b04db077a0c2
parentddac0b1268f3336d27f83c0e6a9e00a021c6ba2e (diff)
downloaddsub-6caa792b3545be0d020c4f54e76ef18ad8d9faf3.tar.gz
dsub-6caa792b3545be0d020c4f54e76ef18ad8d9faf3.tar.bz2
dsub-6caa792b3545be0d020c4f54e76ef18ad8d9faf3.zip
Shouldn't need that try/catch block anymore
-rw-r--r--src/github/daneren2005/dsub/fragments/EqualizerFragment.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/github/daneren2005/dsub/fragments/EqualizerFragment.java b/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
index 8329298f..de6b5e0a 100644
--- a/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
+++ b/src/github/daneren2005/dsub/fragments/EqualizerFragment.java
@@ -206,11 +206,7 @@ public class EqualizerFragment extends SubsonicFragment {
} else if(setLevel > maxEQLevel) {
setLevel = maxEQLevel;
}
- try {
- equalizer.setBandLevel(band, setLevel);
- } catch(Exception e) {
- Log.w(TAG, "Failed to set band level");
- }
+ equalizer.setBandLevel(band, setLevel);
} else if(!isEnabled) {
bar.setProgress(-minEQLevel);
}