mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Remove deprecated methods.
PiperOrigin-RevId: 829640164
This commit is contained in:
committed by
Copybara-Service
parent
f58e9820d5
commit
48ddaf0a95
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user