Temporary support for deprecated APIs 78/35978/1 accepted/tizen/common/20150520.083800 accepted/tizen/common/20150520.133328 accepted/tizen/mobile/20150313.083947 accepted/tizen/tv/20150313.083828 accepted/tizen/wearable/20150313.083859 submit/tizen/20150304.022845 submit/tizen_common/20150512.999999 submit/tizen_common/20150520.075535 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842
authorSuchang Woo <suchang.woo@samsung.com>
Fri, 27 Feb 2015 03:06:49 +0000 (12:06 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Fri, 27 Feb 2015 05:04:37 +0000 (14:04 +0900)
app_info_get_name and app_manager_get_package are replaced with
app_info_get_label and app_manager_get_app_id. app_info_get_name and
app_manager_get_package are no longer provided. But, some packages still
use these APIs. To prevent build errors, this patch provides these APIs
temporarily.

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: Ib45cbc77e31d320e2be562e870bec05411d21e34

include/app_info.h
include/app_manager.h

index d8a4c3e..fc6c3f5 100644 (file)
@@ -146,6 +146,10 @@ int app_info_get_app_id(app_info_h app_info, char **app_id);
  */
 int app_info_get_exec(app_info_h app_info, char **exec);
 
+/* FIXME: Temporary patch to prevent build break.
+   This MUST be removed after packages using the below API are modified. */
+#define app_info_get_name app_info_get_label
+
 /**
  * @brief  Gets the label of the application.
  * @since_tizen 2.3
index fb0b412..4606594 100644 (file)
@@ -177,6 +177,10 @@ int app_manager_get_app_context(const char *app_id, app_context_h *app_context);
  */
 int app_manager_get_app_id(pid_t pid, char **app_id);
 
+/* FIXME: Temporary patch to prevent build break.
+   This MUST be removed after packages using the below API are modified. */
+#define app_manager_get_package app_manager_get_app_id
+
 /**
  * @brief  Checks whether the application with the given package name is running.
  * @since_tizen 2.3