Remove API prototype for getting setting icon 08/157908/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 27 Oct 2017 01:14:47 +0000 (10:14 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 27 Oct 2017 02:33:48 +0000 (11:33 +0900)
- It only exists in header until now but no one uses it.

Change-Id: I8c4af002faa262cdeb7e62fd169d40cad30eeda9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
include/pkgmgr-info.h

index 9c3dbb6..98f8ad1 100644 (file)
@@ -3456,45 +3456,6 @@ static int get_app_notification_icon(const char *appid)
 int pkgmgrinfo_appinfo_get_notification_icon(pkgmgrinfo_appinfo_h  handle, char **icon);
 
 /**
- * @fn int pkgmgrinfo_appinfo_get_setting_icon(pkgmgrinfo_appinfo_h handle, char **icon)
- * @brief      This API gets the setting icon of the application
- *
- * @par                This API is for package-manager client application
- * @par Sync (or) Async : Synchronous API
- *
- * @param[in] handle           pointer to the application info handle.
- * @param[out] path            pointer to hold setting icon
- * @return     0 if success, error code(<0) if fail
- * @retval     PMINFO_R_OK     success
- * @retval     PMINFO_R_EINVAL invalid argument
- * @retval     PMINFO_R_ERROR  internal error
- * @pre                pkgmgrinfo_appinfo_get_appinfo()
- * @post               pkgmgrinfo_appinfo_destroy_appinfo()
- * @see                pkgmgrinfo_appinfo_get_appid()
- * @see                pkgmgrinfo_appinfo_is_multiple()
- * @code
-static int get_app_setting_icon(const char *appid)
-{
-       int ret = 0;
-       char *setting_icon = NULL;
-       pkgmgrinfo_appinfo_h handle;
-       ret = pkgmgrinfo_appinfo_get_appinfo(appid, &handle);
-       if (ret != PMINFO_R_OK)
-               return -1;
-       ret = pkgmgrinfo_appinfo_get_setting_icon(handle, &setting_icon);
-       if (ret != PMINFO_R_OK) {
-               pkgmgrinfo_appinfo_destroy_appinfo(handle);
-               return -1;
-       }
-       printf("setting icon : %s\n", setting_icon);
-       pkgmgrinfo_appinfo_destroy_appinfo(handle);
-       return 0;
-}
- * @endcode
- */
-int pkgmgrinfo_appinfo_get_setting_icon(pkgmgrinfo_appinfo_h  handle, char **icon);
-
-/**
  * @fn int pkgmgrinfo_appinfo_get_recent_image_type(pkgmgrinfo_appinfo_h handle, pkgmgrinfo_app_recentimage *type)
  * @brief      This API gets the type of recent image on app-tray
  *