diff --git a/services/bluetooth/ipc/include/bluetooth_host_stub.h b/services/bluetooth/ipc/include/bluetooth_host_stub.h index c54e616e74a854998370092cad25ea649cb88c22..778dd2dd0460695a4b4daf981e64339547c01309 100644 --- a/services/bluetooth/ipc/include/bluetooth_host_stub.h +++ b/services/bluetooth/ipc/include/bluetooth_host_stub.h @@ -120,6 +120,7 @@ private: int32_t GetCarKeyDfxDataInner(MessageParcel &data, MessageParcel &reply); int32_t SetCarKeyCardDataInner(MessageParcel &data, MessageParcel &reply); int32_t NotifyDialogResultInner(MessageParcel &data, MessageParcel &reply); + ErrCode IsFirstConnectedAfterPairedInner(MessageParcel &data, MessageParcel &reply); static const std::map> memberFuncMap_; diff --git a/services/bluetooth/ipc/src/bluetooth_host_stub.cpp b/services/bluetooth/ipc/src/bluetooth_host_stub.cpp index 3f0c327dd31049f32a83c5eefdab3c4b3fb74f26..6c1bae7835b53b451e8bf00b413b6666dc3bff9e 100644 --- a/services/bluetooth/ipc/src/bluetooth_host_stub.cpp +++ b/services/bluetooth/ipc/src/bluetooth_host_stub.cpp @@ -282,6 +282,9 @@ const std::map instance; static std::mutex instanceLock; diff --git a/services/bluetooth/server/src/bluetooth_host_server.cpp b/services/bluetooth/server/src/bluetooth_host_server.cpp index 205d9e58471fc75e4bf72f0773ab3e3c0e184371..e697a7b5f0c746116c2472fcd0b2095c4c56ec42 100644 --- a/services/bluetooth/server/src/bluetooth_host_server.cpp +++ b/services/bluetooth/server/src/bluetooth_host_server.cpp @@ -1978,5 +1978,10 @@ int32_t BluetoothHostServer::NotifyDialogResult(uint32_t dialogType, bool dialog void BluetoothHostServer::SetCallingPackageName(const std::string &address, const std::string &packageName) {} + +bool BluetoothHostServer::IsFirstConnectedAfterPaired(int32_t transport, const std::string &address) +{ + return false; +} } // namespace Bluetooth } // namespace OHOS