From: Joogab Yun Date: Mon, 19 Apr 2021 07:23:01 +0000 (+0900) Subject: Revert "[Tizen] atspi: disable atspi using environment variable" X-Git-Tag: accepted/tizen/unified/20210422.090541~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bd35c2768b8eed77ab278bc511c98c9223a7632;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[Tizen] atspi: disable atspi using environment variable" This reverts commit 4bbddc95ef2a1da2c8ba8b96dd876d257b416d2c. --- diff --git a/dali/internal/accessibility/bridge/bridge-impl.cpp b/dali/internal/accessibility/bridge/bridge-impl.cpp index 10de55b..b7b026f 100644 --- a/dali/internal/accessibility/bridge/bridge-impl.cpp +++ b/dali/internal/accessibility/bridge/bridge-impl.cpp @@ -32,8 +32,6 @@ #include #include #include -#include -#include using namespace Dali::Accessibility; @@ -323,13 +321,6 @@ static Bridge* CreateBridge() { try { - /* check environment variable first */ - const char *envAtspiDisabled = Dali::EnvironmentVariable::GetEnvironmentVariable(DALI_ENV_DISABLE_ATSPI); - if (envAtspiDisabled && std::atoi(envAtspiDisabled) != 0) - { - return Dali::Accessibility::DummyBridge::GetInstance(); - } - return new BridgeImpl; } catch (const std::exception&) diff --git a/dali/internal/system/common/environment-variables.h b/dali/internal/system/common/environment-variables.h index 094c16e..022cd14 100644 --- a/dali/internal/system/common/environment-variables.h +++ b/dali/internal/system/common/environment-variables.h @@ -137,8 +137,6 @@ namespace Adaptor #define DALI_ENV_ADDONS_LIBS "DALI_ADDONS_LIBS" -#define DALI_ENV_DISABLE_ATSPI "DALI_DISABLE_ATSPI" - } // namespace Adaptor } // namespace Internal