Update default implementation for Bluetooth Socket Offload with RFCOMM
Bug: 342012881
Test: m android.hardware.bluetooth.socket-service.default
Change-Id: I208670ef16323ae774b5e8a20c5e7caccfbaf188
diff --git a/bluetooth/socket/aidl/default/BluetoothSocket.cpp b/bluetooth/socket/aidl/default/BluetoothSocket.cpp
index a41bf9b..5993393 100644
--- a/bluetooth/socket/aidl/default/BluetoothSocket.cpp
+++ b/bluetooth/socket/aidl/default/BluetoothSocket.cpp
@@ -38,6 +38,8 @@
_aidl_return) {
_aidl_return->leCocCapabilities.numberOfSupportedSockets = 0;
_aidl_return->leCocCapabilities.mtu = 0;
+ _aidl_return->rfcommCapabilities.numberOfSupportedSockets = 0;
+ _aidl_return->rfcommCapabilities.maxFrameSize = 0;
return ::ndk::ScopedAStatus::ok();
}
::ndk::ScopedAStatus BluetoothSocket::opened(