Loading android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.bluetooth.BluetoothHeadsetClient; import android.bluetooth.BluetoothHearingAid; import android.bluetooth.BluetoothHidDevice; import android.bluetooth.BluetoothHidHost; import android.bluetooth.BluetoothLeAudio; import android.bluetooth.BluetoothMap; import android.bluetooth.BluetoothMapClient; import android.bluetooth.BluetoothPan; Loading Loading @@ -194,6 +195,9 @@ class AdapterProperties { case BluetoothPbap.ACTION_CONNECTION_STATE_CHANGED: sendConnectionStateChange(BluetoothProfile.PBAP, intent); break; case BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED: sendConnectionStateChange(BluetoothProfile.LE_AUDIO, intent); break; default: Log.w(TAG, "Received unknown intent " + intent); break; Loading Loading @@ -251,6 +255,7 @@ class AdapterProperties { filter.addAction(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); filter.addAction(BluetoothSap.ACTION_CONNECTION_STATE_CHANGED); filter.addAction(BluetoothPbapClient.ACTION_CONNECTION_STATE_CHANGED); filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); mService.registerReceiver(mReceiver, filter); mReceiverRegistered = true; invalidateBluetoothCaches(); Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.bluetooth.BluetoothHeadsetClient; import android.bluetooth.BluetoothHearingAid; import android.bluetooth.BluetoothHidDevice; import android.bluetooth.BluetoothHidHost; import android.bluetooth.BluetoothLeAudio; import android.bluetooth.BluetoothMap; import android.bluetooth.BluetoothMapClient; import android.bluetooth.BluetoothPan; Loading Loading @@ -194,6 +195,9 @@ class AdapterProperties { case BluetoothPbap.ACTION_CONNECTION_STATE_CHANGED: sendConnectionStateChange(BluetoothProfile.PBAP, intent); break; case BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED: sendConnectionStateChange(BluetoothProfile.LE_AUDIO, intent); break; default: Log.w(TAG, "Received unknown intent " + intent); break; Loading Loading @@ -251,6 +255,7 @@ class AdapterProperties { filter.addAction(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); filter.addAction(BluetoothSap.ACTION_CONNECTION_STATE_CHANGED); filter.addAction(BluetoothPbapClient.ACTION_CONNECTION_STATE_CHANGED); filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); mService.registerReceiver(mReceiver, filter); mReceiverRegistered = true; invalidateBluetoothCaches(); Loading