Don't stop when fail to get label during listing apps 66/45366/1
authorSangyoon Jang <s89.jang@samsung.com>
Wed, 5 Aug 2015 08:20:17 +0000 (17:20 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Wed, 5 Aug 2015 08:22:24 +0000 (17:22 +0900)
Change-Id: Id8dfa2ebe555e356d00357ac90bcac3c95265e3f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
app_launcher.c

index 5a551aa..b4e44fd 100644 (file)
@@ -123,10 +123,8 @@ static int __appinfo_list_cb(const pkgmgrinfo_appinfo_h handle, void *user_data)
        char *label;
        char *appid;
 
-       if (pkgmgrinfo_appinfo_get_label(handle, &label)) {
-               printf("Failed to get app label\n");
-               return -1;
-       }
+       if (pkgmgrinfo_appinfo_get_label(handle, &label))
+               label = "";
 
        if (pkgmgrinfo_appinfo_get_appid(handle, &appid)) {
                printf("Failed to get appid\n");