aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-05-16 22:43:34 -0700
committerScott Jackson <daneren2005@gmail.com>2014-05-16 22:43:34 -0700
commitf5e8036cda83b5d52092cddf127fb299688e076a (patch)
tree415d33ad2209ad44cfef40dcbc0d11224ba818b4 /src
parentccfb2eb36ad78339400c8dd3a016b5353a7ab78c (diff)
downloaddsub-f5e8036cda83b5d52092cddf127fb299688e076a.tar.gz
dsub-f5e8036cda83b5d52092cddf127fb299688e076a.tar.bz2
dsub-f5e8036cda83b5d52092cddf127fb299688e076a.zip
Fix freeze since info is already cached
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index f4788e9f..6c3b2e24 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -239,7 +239,7 @@ public class DownloadService extends Service {
try {
Intent i = new Intent(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION);
- i.putExtra(AudioEffect.EXTRA_AUDIO_SESSION, mediaPlayer.getAudioSessionId());
+ i.putExtra(AudioEffect.EXTRA_AUDIO_SESSION, audioSessionId);
i.putExtra(AudioEffect.EXTRA_PACKAGE_NAME, getPackageName());
sendBroadcast(i);
} catch(Throwable e) {