From 4ab886b640065dabcf38515aaea8f99d7c130205 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 30 Jun 2016 22:29:03 +0200 Subject: [PATCH] small improvement --- .../src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java index 008d6cdd85..137bd192e0 100644 --- a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java +++ b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java @@ -301,7 +301,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat protected void abandonAudioFocus() { log.debug("abandonAudioFocus"); - if (ctx.getSettings().INTERRUPT_MUSIC.get()) { + if (ctx.getSettings().INTERRUPT_MUSIC.get() || (btScoStatus == true)) { stopBtSco(ctx); } if (mAudioFocusHelper != null) {