From 9954b2da9ac640b761322b796f3625f367df14d4 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 1 Apr 2014 18:14:15 -0700 Subject: #322 Pause for calls in remote mode --- .../daneren2005/dsub/service/DownloadServiceLifecycleSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java b/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java index 37eaae62..c4a79ee0 100644 --- a/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java +++ b/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java @@ -346,7 +346,7 @@ public class DownloadServiceLifecycleSupport { switch (state) { case TelephonyManager.CALL_STATE_RINGING: case TelephonyManager.CALL_STATE_OFFHOOK: - if (downloadService.getPlayerState() == PlayerState.STARTED && !downloadService.isRemoteEnabled()) { + if (downloadService.getPlayerState() == PlayerState.STARTED) { resumeAfterCall = true; downloadService.pause(); } -- cgit v1.2.3