From 230d13bd8fe3aa5be5752c1fa2b26313ff974ba4 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 14 Jan 2013 20:30:57 -0800 Subject: Abandon focus when loosing focus anyways --- subsonic-android/src/github/daneren2005/dsub/util/Util.java | 1 + 1 file changed, 1 insertion(+) diff --git a/subsonic-android/src/github/daneren2005/dsub/util/Util.java b/subsonic-android/src/github/daneren2005/dsub/util/Util.java index bd10f1b7..1733bf62 100644 --- a/subsonic-android/src/github/daneren2005/dsub/util/Util.java +++ b/subsonic-android/src/github/daneren2005/dsub/util/Util.java @@ -832,6 +832,7 @@ public final class Util { } else if(focusChange == AudioManager.AUDIOFOCUS_LOSS) { hasFocus = false; downloadService.pause(); + audioManager.abandonAudioFocus(this); } } }, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); -- cgit v1.2.3