From 79477d15c374fa2955b961dfaf6c647a41055873 Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Thu, 21 Mar 2013 21:39:25 +0900 Subject: [PATCH] apply changed CAPI Change-Id: Ic15d0cd491f4dab708bbd7afacd3684fab1d87bb Signed-off-by: jungmin76.park --- src/core/FShellShortcutManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/FShellShortcutManager.cpp b/src/core/FShellShortcutManager.cpp index 32d7788..3fc18e0 100644 --- a/src/core/FShellShortcutManager.cpp +++ b/src/core/FShellShortcutManager.cpp @@ -87,7 +87,8 @@ ShortcutManager::AddShortcut(const AppId& appId, const String& displayName, cons std::unique_ptr pUriData(_StringConverter::CopyToCharArrayN(uriData)); int type = (uriData.IsEmpty())? LAUNCH_BY_PACKAGE : LAUNCH_BY_URI; - int ret = add_to_home_shortcut(pAppId.get(), pName.get(), type, pUriData.get(), pIcon.get(), NULL, this); + //int ret = add_to_home_shortcut(pAppId.get(), pName.get(), type, pUriData.get(), pIcon.get(), NULL, this); + int ret = add_to_home_shortcut(pAppId.get(), pName.get(), type, pUriData.get(), pIcon.get(), allowDuplication, NULL, this); SysTryReturnResult(NID_APP, ret == 0, E_SYSTEM, "Failed to add_to_home_shortcut"); return E_SUCCESS; -- 2.7.4