From bfb62b45f1a8c948134c0abb4bd1265bd8d6bf57 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Fri, 14 May 2021 16:50:53 +0900 Subject: [PATCH] [Tizen] Fix build errors on Ubuntu Change-Id: I5e0aff277ff7a77706e783e94a3dc82fc8a92b54 --- dali/devel-api/adaptor-framework/image-loading.h | 2 +- dali/internal/accessibility/common/accessibility-adaptor-impl.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dali/devel-api/adaptor-framework/image-loading.h b/dali/devel-api/adaptor-framework/image-loading.h index 9786848..c5c143c 100644 --- a/dali/devel-api/adaptor-framework/image-loading.h +++ b/dali/devel-api/adaptor-framework/image-loading.h @@ -81,7 +81,7 @@ DALI_ADAPTOR_API ImageDimensions GetOriginalImageSize( /** * @brief Get the size of an original image. this method will respect any rotation of image. * @param[in] filename name of the image. - * + * @param[in] orientationCorrection Whether to use image metadata to rotate or * @return dimensions to original image */ DALI_ADAPTOR_API ImageDimensions GetOriginalImageSize( diff --git a/dali/internal/accessibility/common/accessibility-adaptor-impl.cpp b/dali/internal/accessibility/common/accessibility-adaptor-impl.cpp index eb3b99f..b85b5d4 100644 --- a/dali/internal/accessibility/common/accessibility-adaptor-impl.cpp +++ b/dali/internal/accessibility/common/accessibility-adaptor-impl.cpp @@ -19,7 +19,9 @@ #include // EXTERNAL INCLUDES +#ifndef DALI_PROFILE_UBUNTU #include +#endif #include #include #include @@ -61,7 +63,9 @@ AccessibilityAdaptor::AccessibilityAdaptor() void AccessibilityAdaptor::EnableAccessibility() { bool accessibilityState = false; +#ifndef DALI_PROFILE_UBUNTU system_settings_get_value_bool( SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS, &accessibilityState ); +#endif if(accessibilityState == false) { DALI_LOG_ERROR("The Current Accessibility system cannot run. \n"); -- 2.7.4