aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-02-10 09:36:23 -0800
committerScott Jackson <daneren2005@gmail.com>2013-02-10 09:36:23 -0800
commitda65a7f83b546477c0b00252c270352e0592cdae (patch)
tree3e93d20f3665b8b5c46d68da6cd84e98b450bc1e /subsonic-android/src
parent74dcc582f1e70ad6113da5d4dbcfbfb138dc5694 (diff)
downloaddsub-da65a7f83b546477c0b00252c270352e0592cdae.tar.gz
dsub-da65a7f83b546477c0b00252c270352e0592cdae.tar.bz2
dsub-da65a7f83b546477c0b00252c270352e0592cdae.zip
Fix crash when exiting Equalizer activity
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/EqualizerActivity.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/EqualizerActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/EqualizerActivity.java
index 2b2df35b..78e7cc51 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/EqualizerActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/EqualizerActivity.java
@@ -93,6 +93,13 @@ public class EqualizerActivity extends Activity {
equalizerController.release();
}
}
+
+ @Override
+ protected void onResume() {
+ super.onResume();
+ equalizerController = DownloadServiceImpl.getInstance().getEqualizerController();
+ equalizer = equalizerController.getEqualizer();
+ }
@Override
public void onCreateContextMenu(ContextMenu menu, View view, ContextMenu.ContextMenuInfo menuInfo) {