aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-04-01 18:14:15 -0700
committerScott Jackson <daneren2005@gmail.com>2014-04-01 18:14:15 -0700
commit9954b2da9ac640b761322b796f3625f367df14d4 (patch)
tree5d53f8d37c1679c3295ee7ce48524959cb62b4b1 /src/github/daneren2005
parent031d225892c12864b24268b098bb559cdff05428 (diff)
downloaddsub-9954b2da9ac640b761322b796f3625f367df14d4.tar.gz
dsub-9954b2da9ac640b761322b796f3625f367df14d4.tar.bz2
dsub-9954b2da9ac640b761322b796f3625f367df14d4.zip
#322 Pause for calls in remote mode
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 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();
}