diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-27 07:07:33 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-27 07:07:33 -0700 |
commit | 7d67619f86cdd281ec11820570b7b76948e422a0 (patch) | |
tree | 997a4a1dcf62f3b1b2135b932c48c1d0a2e97a8c /src | |
parent | 34fabb188d12c664bc3a6e66304b0060b6a2c404 (diff) | |
download | dsub-7d67619f86cdd281ec11820570b7b76948e422a0.tar.gz dsub-7d67619f86cdd281ec11820570b7b76948e422a0.tar.bz2 dsub-7d67619f86cdd281ec11820570b7b76948e422a0.zip |
Fix Froyo crash
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
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(); |