From 8859c94f25916210844ca061f32419719f6b8d82 Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Wed, 2 Jul 2014 10:35:39 -0700 Subject: Fix calls not keeping notification so service isn't killed --- .../daneren2005/dsub/service/DownloadServiceLifecycleSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/github') 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: -- cgit v1.2.3