projects
/
platform
/
core
/
appfw
/
amd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e82cec
)
Modify IsGlobalUser method
36/322336/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 7 Apr 2025 23:31:41 +0000
(08:31 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 7 Apr 2025 23:31:41 +0000
(08:31 +0900)
If the user ID is less than the regular user ID, the method returns
"true" string.
Change-Id: Ic2832d365359287f2d449b0de77671af59962bac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/app_info/app_info_manager.cc
patch
|
blob
|
history
diff --git
a/src/lib/app_info/app_info_manager.cc
b/src/lib/app_info/app_info_manager.cc
index e573546913e965b5c6a3d6d56c75eff0e1a314b9..13596bc5ef0a285c05e8d572c9625a0ebcbc2fcc 100644
(file)
--- a/
src/lib/app_info/app_info_manager.cc
+++ b/
src/lib/app_info/app_info_manager.cc
@@
-79,7
+79,7
@@
void NotiSend(const char* msg, uid_t arg1, const pkgmgrinfo_appinfo_h arg3) {
}
std::string IsGlobalUser(uid_t uid) {
- return uid
== GLOBAL_USER
? "true" : "false";
+ return uid
< REGULAR_UID_MIN
? "true" : "false";
}
int AppInfoInsert(const pkgmgrinfo_appinfo_h handle, AppInfoChunk* chunk,