From dc48cdbc98377ccae74838dac9741e9175f96a82 Mon Sep 17 00:00:00 2001 From: Vibhav Pant Date: Mon, 28 Aug 2023 01:15:55 +0530 Subject: [PATCH] Use bus name only for default connection. --- internal/platform/implementation/linux/dbus.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/platform/implementation/linux/dbus.cc b/internal/platform/implementation/linux/dbus.cc index e6160767..bec2244e 100644 --- a/internal/platform/implementation/linux/dbus.cc +++ b/internal/platform/implementation/linux/dbus.cc @@ -16,10 +16,10 @@ static absl::once_flag bus_connection_init_; static void initBusConnections() { global_system_bus_connection = - sdbus::createSystemBusConnection("/com/google/nearby"); + sdbus::createSystemBusConnection(); global_system_bus_connection->enterEventLoopAsync(); global_default_bus_connection = - sdbus::createDefaultBusConnection("/com/google/nearby"); + sdbus::createDefaultBusConnection("com.google.nearby"); global_default_bus_connection->enterEventLoopAsync(); }