MESSAGE("Sources: ${SRCS}")
# Dependencies
-SET(DEPS "gio-2.0 context-common aul bundle capi-appfw-app-control pkgmgr-info")
+SET(DEPS "gio-2.0 context-common-legacy aul bundle capi-appfw-app-control pkgmgr-info")
# Common Options
INCLUDE(FindPkgConfig)
ADD_LIBRARY(${target} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${target} ${api_pkg_LDFLAGS})
SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_FLAGS ${API_EXTRA_CFLAGS})
-SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITIONS "LOG_TAG=\"CONTEXT-API\"")
+SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITIONS "LOG_TAG=\"CAPI-CONTEXT\"")
SET_TARGET_PROPERTIES(${target} PROPERTIES SOVERSION ${MAJORVER})
SET_TARGET_PROPERTIES(${target} PROPERTIES VERSION ${FULLVER})
BuildRequires: cmake
BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(context-common)
+BuildRequires: pkgconfig(context-common-legacy)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(capi-appfw-app-control)
ctx::DBusClient dbusClient;
int err = dbusClient.readSync(data_type_str, filter ? filter->jfilter : NULL, &req_id, &tmp_list);
+ if (err == TIZEN_ERROR_NOT_SUPPORTED)
+ err = CONTEXT_HISTORY_ERROR_NO_DATA;
IF_FAIL_RETURN_TAG(err == ERR_NONE, err, _E, "Getting list failed");
_J("Read response", tmp_list);