[Tizen][AT-SPI] Use async D-Bus call in some Socket methods 76/285876/1
authorArtur Świgoń <a.swigon@samsung.com>
Mon, 12 Dec 2022 14:39:46 +0000 (15:39 +0100)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 22 Dec 2022 05:30:55 +0000 (14:30 +0900)
Change-Id: I45c2f0ad514d47de9e3a7d389aafb488ab2366a7

dali/internal/accessibility/bridge/bridge-impl.cpp

index 6484620..17bf1df 100644 (file)
@@ -700,14 +700,14 @@ public:
   {
     auto client = CreateSocketClient(socket);
 
-    client.method<void(std::string)>("Embedded").call(ATSPI_PREFIX_PATH + plug.GetPath());
+    client.method<void(std::string)>("Embedded").asyncCall([](DBus::ValueOrError<void>) {}, ATSPI_PREFIX_PATH + plug.GetPath());
   }
 
   void UnembedSocket(const Address& plug, const Address& socket) override
   {
     auto client = CreateSocketClient(socket);
 
-    client.method<void(Address)>("Unembed").call(plug);
+    client.method<void(Address)>("Unembed").asyncCall([](DBus::ValueOrError<void>) {}, plug);
   }
 
   void SetSocketOffset(ProxyAccessible* socket, std::int32_t x, std::int32_t y) override