Fix Update issue, during update the desktop is deleted but never recreated 88/29988/2 accepted/tizen/common/20141107.085136 accepted/tizen/ivi/20141112.110517 submit/tizen_common/20141106.150911 submit/tizen_ivi/20141111.000000
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Thu, 6 Nov 2014 13:57:40 +0000 (14:57 +0100)
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Thu, 6 Nov 2014 14:53:28 +0000 (06:53 -0800)
BUG-Tizen=TC-2025
Change-Id: I9b25d19f0e322f8a00d72d0a9bb0379f305b9c78
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
parser/pkgmgr_parser.c

index 4c0b3c9..849a57a 100755 (executable)
@@ -4398,15 +4398,6 @@ static int __ps_make_nativeapp_desktop(manifest_x * mfx, const char *manifest, A
 
        for(; mfx->uiapplication; mfx->uiapplication=mfx->uiapplication->next) {
 
-               if (manifest != NULL) {
-                       /* skip making a deskfile and update ail, if preload app is updated */
-                       if(strstr(manifest, getUserManifestPath(uid))) {
-                               __ail_change_info(AIL_INSTALL, mfx->uiapplication->appid, uid);
-                   _LOGE("preload app is update : skip and update ail : %s", manifest);
-                               continue;
-                       }
-               }
-
                snprintf(filepath, sizeof(filepath),"%s%s.desktop", getUserDesktopPath(uid), mfx->uiapplication->appid);
 
                /* skip if desktop exists