From 2fdb2a61bf76e538e2b562c5589160b92dc9cf2f Mon Sep 17 00:00:00 2001 From: Jiyun Yang Date: Mon, 25 Sep 2023 14:23:39 +0900 Subject: [PATCH] Revert "[Tizen] Remove to call key consumed event in ATSPI bridge" This reverts commit 021b065f14177a377f6bd5e3d4914d614106db97. --- 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