Fix setting global flag for appinfo 55/107155/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.122029 accepted/tizen/3.0.m2/tv/20170104.122501 accepted/tizen/3.0.m2/wearable/20170104.122850 accepted/tizen/3.0/common/20161228.071608 accepted/tizen/3.0/ivi/20161228.021722 accepted/tizen/3.0/mobile/20161228.021535 accepted/tizen/3.0/tv/20161228.021633 accepted/tizen/3.0/wearable/20161228.021701 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161227.023045
authorSangyoon Jang <s89.jang@samsung.com>
Tue, 27 Dec 2016 03:47:17 +0000 (12:47 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Tue, 27 Dec 2016 03:47:17 +0000 (12:47 +0900)
Change-Id: I8245d3cdc4962b6b0be8a037fe53cb273f38b089
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/pkgmgrinfo_appinfo.c

index c48d6d9..af41227 100644 (file)
@@ -661,7 +661,7 @@ static int _appinfo_get_applications(uid_t db_uid, uid_t uid,
                _save_column_str(stmt, idx++, &info->support_ambient);
 
                info->for_all_users =
-                       strdup((uid != GLOBAL_USER) ? "false" : "true");
+                       strdup((db_uid != GLOBAL_USER) ? "false" : "true");
 
                if (db_uid == GLOBAL_USER)
                        __get_splash_screen_display(db, info->appid, db_uid,