*
* @section CAPI_CONTEXT_HISTORY_MODULE_FEATURE Related Features
* This API is related with the following features:@n
- * - http://tizen.org/feature/apphistory
+ * - http://tizen.org/feature/app_history
* And some of the statistic items in this API are related with one of the following features:@n
* - http://tizen.org/feature/battery
*
Name: capi-context
Summary: Tizen Context Framework Native API
-Version: 1.0.5
+Version: 1.0.6
Release: 1
Group: Service Framework/Context
License: Apache-2.0
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(capi-appfw-app-control)
-BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(cynara-creds-self)
BuildRequires: pkgconfig(cynara-session)
BuildRequires: pkgconfig(cynara-client)
+BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(context-app-history-client)
BuildRequires: pkgconfig(context-job-scheduler-client)
#define ASSERT_ALLOC(X) IF_FAIL_RETURN_TAG(X, E_NO_MEM, _E, "Memory allocation failed")
#define ASSERT_NOT_NULL(X) IF_FAIL_RETURN_TAG(X, E_PARAM, _E, "Parameter null")
-#define APP_HISTORY_FEATURE "http://tizen.org/feature/apphistory"
+#define APP_HISTORY_FEATURE "http://tizen.org/feature/app_history"
#define CHECK_APP_HISTORY_SUPPORTED(feature_name) \
do { \
bool is_supported = false; \
IF_FAIL_RETURN_TAG(bn, E_PARAM, _E, "Converting failed");
int ret = ctx_sched_job_set_app_control(rule->job, bn);
+ if (bn)
+ bundle_free(bn);
if (ret == E_NONE)
rule->hasAction = true;
}
int ret = ctx_sched_job_set_notification(rule->job, title, content, icon_path, bn);
+ if (bn)
+ bundle_free(bn);
if (ret == E_NONE)
rule->hasAction = true;