projects
/
platform
/
core
/
appfw
/
badge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7925ea
)
Add gdbus permission check logic
90/63490/1
accepted/tizen/common/20160325.135420
accepted/tizen/ivi/20160324.131702
accepted/tizen/mobile/20160324.132946
accepted/tizen/tv/20160324.132818
accepted/tizen/wearable/20160324.132804
submit/tizen/20160324.104731
author
Hyunho Kang
<hhstark.kang@samsung.com>
Thu, 24 Mar 2016 08:15:06 +0000
(17:15 +0900)
committer
Hyunho Kang
<hhstark.kang@samsung.com>
Thu, 24 Mar 2016 08:15:52 +0000
(17:15 +0900)
Change-Id: Id6b7ecdba083fc924dd619306296d0ab46b74ade
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
src/badge_ipc.c
patch
|
blob
|
history
diff --git
a/src/badge_ipc.c
b/src/badge_ipc.c
index
e97c976
..
55ccba5
100755
(executable)
--- a/
src/badge_ipc.c
+++ b/
src/badge_ipc.c
@@
-357,6
+357,8
@@
static int _send_sync_badge(GVariant *body, GDBusMessage **reply, char *cmd)
if (g_dbus_message_to_gerror(*reply, &err)) {
ret = err->code;
ERR("_send_sync_badge cmd = %s, error %s", cmd, err->message);
+ if (err->code == G_DBUS_ERROR_ACCESS_DENIED)
+ ret = BADGE_ERROR_PERMISSION_DENIED;
g_error_free(err);
return ret;
}