aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-07-02 10:35:39 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-07-02 10:35:39 -0700
commit8859c94f25916210844ca061f32419719f6b8d82 (patch)
tree06e90d9353eea7c92965713054086fb8ce67c1ec /src/github/daneren2005
parent02d76ce05cb6573a5cf98ed9068bb5af73f93c42 (diff)
downloaddsub-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/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java2
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: