aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-03-27 07:07:33 -0700
committerScott Jackson <daneren2005@gmail.com>2014-03-27 07:07:33 -0700
commit7d67619f86cdd281ec11820570b7b76948e422a0 (patch)
tree997a4a1dcf62f3b1b2135b932c48c1d0a2e97a8c /src/github/daneren2005
parent34fabb188d12c664bc3a6e66304b0060b6a2c404 (diff)
downloaddsub-7d67619f86cdd281ec11820570b7b76948e422a0.tar.gz
dsub-7d67619f86cdd281ec11820570b7b76948e422a0.tar.bz2
dsub-7d67619f86cdd281ec11820570b7b76948e422a0.zip
Fix Froyo crash
Diffstat (limited to 'src/github/daneren2005')
-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 4d7a721c..335e7812 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -1266,7 +1266,7 @@ public class DownloadService extends Service {
setPlayerState(IDLE);
try {
mediaPlayer.setAudioSessionId(audioSessionId);
- } catch(Exception e) {
+ } catch(Throwable e) {
mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
}
String dataSource = file.getPath();