mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Use /com/google/nearby as the object path.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user