Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b6e7a46e1b
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat
|
|||
if (android.os.Build.VERSION.SDK_INT >= 8) {
|
||||
mAudioFocusHelper = getAudioFocus();
|
||||
}
|
||||
if (mAudioFocusHelper != null) {
|
||||
if (mAudioFocusHelper != null && ctx != null) {
|
||||
mAudioFocusHelper.requestFocus(ctx, streamType);
|
||||
}
|
||||
// If AudioManager.STREAM_VOICE_CALL try using BT SCO:
|
||||
|
|
Loading…
Reference in a new issue