diff options
author | daneren2005 <daneren2005@gmail.com> | 2014-07-02 10:35:39 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2014-07-02 10:35:39 -0700 |
commit | 8859c94f25916210844ca061f32419719f6b8d82 (patch) | |
tree | 06e90d9353eea7c92965713054086fb8ce67c1ec /src/github | |
parent | 02d76ce05cb6573a5cf98ed9068bb5af73f93c42 (diff) | |
download | dsub-8859c94f25916210844ca061f32419719f6b8d82.tar.gz dsub-8859c94f25916210844ca061f32419719f6b8d82.tar.bz2 dsub-8859c94f25916210844ca061f32419719f6b8d82.zip |
Fix calls not keeping notification so service isn't killed
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java b/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java index ed092328..76c9abeb 100644 --- a/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java +++ b/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java @@ -326,7 +326,7 @@ public class DownloadServiceLifecycleSupport { case TelephonyManager.CALL_STATE_OFFHOOK: if (downloadService.getPlayerState() == PlayerState.STARTED) { resumeAfterCall = true; - downloadService.pause(); + downloadService.pause(true); } break; case TelephonyManager.CALL_STATE_IDLE: |