Use /com/google/nearby as the object path.

This commit is contained in:
Vibhav Pant
2023-08-27 16:34:27 +05:30
parent 89ea6894cb
commit 5910a511b6
4 changed files with 5 additions and 5 deletions
@@ -26,7 +26,7 @@ std::unique_ptr<api::BluetoothSocket> BluetoothServerSocket::Accept() {
Exception BluetoothServerSocket::Close() {
auto profile_object_path =
absl::Substitute("/com/github/google/nearby/profiles/$0", service_uuid_);
absl::Substitute("/com/google/nearby/profiles/$0", service_uuid_);
profile_manager_.Unregister(service_uuid_);
@@ -24,7 +24,7 @@ std::string device_object_path(const sdbus::ObjectPath &adapter_object_path,
}
sdbus::ObjectPath profile_object_path(absl::string_view service_uuid) {
return absl::Substitute("/com/github/google/nearby/profiles/$0", service_uuid);
return absl::Substitute("/com/google/nearby/profiles/$0", service_uuid);
}
sdbus::ObjectPath adapter_object_path(absl::string_view name) {
@@ -16,10 +16,10 @@ static absl::once_flag bus_connection_init_;
static void initBusConnections() {
global_system_bus_connection =
sdbus::createSystemBusConnection("/com/github/google/nearby");
sdbus::createSystemBusConnection("/com/google/nearby");
global_system_bus_connection->enterEventLoopAsync();
global_default_bus_connection =
sdbus::createDefaultBusConnection("/com/github/google/nearby");
sdbus::createDefaultBusConnection("/com/google/nearby");
global_default_bus_connection->enterEventLoopAsync();
}
@@ -32,7 +32,7 @@ class LogControl
public google::LogSink {
public:
LogControl(sdbus::IConnection &system_bus)
: AdaptorInterfaces(system_bus, "/com/github/google/nearby"),
: AdaptorInterfaces(system_bus, "/com/google/nearby"),
severity_(api::LogMessage::LogMessage::Severity::kVerbose) {
registerAdaptor();
}