Remove deprecated methods.

PiperOrigin-RevId: 829640164
This commit is contained in:
Francis Tsui
2025-11-07 17:54:11 -08:00
committed by Copybara-Service
parent f58e9820d5
commit 48ddaf0a95
18 changed files with 19 additions and 68 deletions
@@ -62,11 +62,6 @@
XCTAssertFalse(_adapter.SetName("TestName", true));
}
- (void)testGetMacAddress {
// Currently hardcoded to return "".
XCTAssertEqual(_adapter.GetMacAddress(), "");
}
- (void)testGetAddress {
// Currently hardcoded to return an empty MacAddress.
nearby::MacAddress emptyAddress;
@@ -84,8 +84,6 @@ class BluetoothAdapter : public api::BluetoothAdapter {
bool SetName(absl::string_view name, bool persist) override;
// Returns BT MAC address assigned to this adapter.
std::string GetMacAddress() const override;
MacAddress GetAddress() const override;
};
@@ -64,10 +64,6 @@ bool BluetoothAdapter::SetName(absl::string_view name, bool persist) {
}
// TODO(b/290385712): Implement.
std::string BluetoothAdapter::GetMacAddress() const {
return "";
}
MacAddress BluetoothAdapter::GetAddress() const {
return MacAddress();
}