Earlier (in Android 6) when I do this when connected headset:
audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION);
I continue hear all sounds in my Bluetooth headset if it connected.
Now I do this, but after this I can't hear anything in headset. All sounds are played through the regular speaker phone!
setBluetoothScoOn(true) not help.
What missing?
this might help