small improvement

This commit is contained in:
sonora 2016-06-30 22:29:03 +02:00
parent 29bf817648
commit 4ab886b640

View file

@ -301,7 +301,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat
protected void abandonAudioFocus() { protected void abandonAudioFocus() {
log.debug("abandonAudioFocus"); log.debug("abandonAudioFocus");
if (ctx.getSettings().INTERRUPT_MUSIC.get()) { if (ctx.getSettings().INTERRUPT_MUSIC.get() || (btScoStatus == true)) {
stopBtSco(ctx); stopBtSco(ctx);
} }
if (mAudioFocusHelper != null) { if (mAudioFocusHelper != null) {