Fix parsing icon path 28/44728/1
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 27 Jul 2015 06:53:38 +0000 (15:53 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 27 Jul 2015 06:53:38 +0000 (15:53 +0900)
Change-Id: I472c934f73b85b43ccc84437aeb5f11f5ebb3299
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
parser/pkgmgr_parser.c

index 585c6de..fc0bf7a 100644 (file)
@@ -2514,7 +2514,7 @@ static char *__get_icon_with_path(const char * icon, uid_t uid)
                }
 
                memset(icon_with_path, 0, len);
-               if (uid != GLOBAL_USER)
+               if (uid != GLOBAL_USER && uid != OWNER_ROOT)
                        snprintf(icon_with_path, len, "%s%s", getIconPath(uid), icon);
                else {
                        snprintf(icon_with_path, len, "%s%s/small/%s", getIconPath(GLOBAL_USER), theme, icon);