From c1c78fd7eeeefc6b50131fb289f62800f2bce9b2 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Wed, 15 Nov 2023 15:04:40 +0900 Subject: [PATCH] Revert "[Tizen] Remove to call key consumed event in ATSPI bridge" This reverts commit ccbea072dd6d0d9c1bb773e082a7e74cb847be06. --- dali/internal/accessibility/bridge/bridge-impl.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dali/internal/accessibility/bridge/bridge-impl.cpp b/dali/internal/accessibility/bridge/bridge-impl.cpp index 87e6c20..2ebc048 100644 --- a/dali/internal/accessibility/bridge/bridge-impl.cpp +++ b/dali/internal/accessibility/bridge/bridge-impl.cpp @@ -123,7 +123,14 @@ public: } } - return Consumed::NO; + auto methodObject = mRegistryClient.method)>("NotifyListenersSync"); + auto result = methodObject.call(std::tuple{keyType, 0, static_cast(keyCode), 0, static_cast(timeStamp), keyName, isText ? 1 : 0}); + if(!result) + { + LOG() << result.getError().message; + return Consumed::NO; + } + return std::get<0>(result) ? Consumed::YES : Consumed::NO; } /** -- 2.7.4