From 8303b3e99ae0aea2455b0b30de700854409f7440 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Tue, 27 Dec 2016 12:47:17 +0900 Subject: [PATCH] Fix setting global flag for appinfo Change-Id: I8245d3cdc4962b6b0be8a037fe53cb273f38b089 Signed-off-by: Sangyoon Jang --- src/pkgmgrinfo_appinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgmgrinfo_appinfo.c b/src/pkgmgrinfo_appinfo.c index c48d6d9..af41227 100644 --- a/src/pkgmgrinfo_appinfo.c +++ b/src/pkgmgrinfo_appinfo.c @@ -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, -- 2.7.4