diff options
author | Sangyoon Jang <s89.jang@samsung.com> | 2015-04-14 11:04:41 +0900 |
---|---|---|
committer | Sangyoon Jang <s89.jang@samsung.com> | 2015-04-14 11:04:41 +0900 |
commit | f0d84030d6885409cefbc00c67a9dad4c3fe4bfa (patch) | |
tree | 01df16e2bf63b329451566ecc2816ccc81666613 | |
parent | eef55c687314cd2e62f9e67b696cb9dffc59bd3b (diff) | |
download | aul-1-f0d84030d6885409cefbc00c67a9dad4c3fe4bfa.tar.gz aul-1-f0d84030d6885409cefbc00c67a9dad4c3fe4bfa.tar.bz2 aul-1-f0d84030d6885409cefbc00c67a9dad4c3fe4bfa.zip |
Fix _get_app_info_from_db_by_apppath_usersubmit/tizen/20150415.072638accepted/tizen/wearable/20150415.132254accepted/tizen/tv/20150415.131749accepted/tizen/mobile/20150415.132907accepted/tizen/common/20150416.090615
use uid took over instead of getuid
Change-Id: I27ce3a6a0206d08ce76fb8a247909cc792d6378f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r-- | include/menu_db_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menu_db_util.h b/include/menu_db_util.h index a61ad71a..d6074da8 100644 --- a/include/menu_db_util.h +++ b/include/menu_db_util.h @@ -236,7 +236,7 @@ static inline app_info_from_db *_get_app_info_from_db_by_apppath_user( if (uid != GLOBAL_USER) ret = pkgmgrinfo_appinfo_usr_filter_foreach_appinfo(filter, - __appinfo_func, (void *)menu_info, getuid()); + __appinfo_func, (void *)menu_info, uid); else ret = pkgmgrinfo_appinfo_filter_foreach_appinfo(filter, __appinfo_func, (void *)menu_info); |