From f634565df8445c5ab4f692f99583cf4b70110a35 Mon Sep 17 00:00:00 2001 From: owner Date: Mon, 31 Dec 2012 22:08:09 -0800 Subject: Request audio focus when starting playback --- .../src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index 7e6a0070..b36b58e3 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -658,6 +658,7 @@ public class DownloadServiceImpl extends Service implements DownloadService { if (jukeboxEnabled) { jukeboxService.start(); } else { + Util.requestAudioFocus(this); mediaPlayer.start(); } setPlayerState(STARTED); -- cgit v1.2.3