mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-12 21:27:43 +00:00
@@ -58,7 +58,7 @@ public class BluetoothStateManager {
|
|||||||
context.registerReceiver(bluetoothConnectionReceiver, new IntentFilter(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED));
|
context.registerReceiver(bluetoothConnectionReceiver, new IntentFilter(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED));
|
||||||
}
|
}
|
||||||
|
|
||||||
Intent sticky = context.registerReceiver(bluetoothScoReceiver, new IntentFilter(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED));
|
Intent sticky = context.registerReceiver(bluetoothScoReceiver, new IntentFilter(getScoChangeIntent()));
|
||||||
|
|
||||||
if (sticky != null) {
|
if (sticky != null) {
|
||||||
bluetoothScoReceiver.onReceive(context, sticky);
|
bluetoothScoReceiver.onReceive(context, sticky);
|
||||||
|
Reference in New Issue
Block a user