projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00d555
)
[IMPROVE] Implement system-wide instrumentation
52/16752/2
author
Alexander Aksenov
<a.aksenov@samsung.com>
Mon, 24 Feb 2014 12:33:24 +0000
(16:33 +0400)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Fri, 21 Mar 2014 07:24:17 +0000
(11:24 +0400)
Now when we set app type to APP_RUNNING, empty path can be passed
Change-Id: I82f076662597dbfa5481bb85b90398b4d6ebcf98
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
daemon/da_protocol_inst.c
patch
|
blob
|
history
diff --git
a/daemon/da_protocol_inst.c
b/daemon/da_protocol_inst.c
index
d555b59
..
bb5f7d7
100644
(file)
--- a/
daemon/da_protocol_inst.c
+++ b/
daemon/da_protocol_inst.c
@@
-218,6
+218,8
@@
int parse_inst_app(struct msg_buf_t *msg, struct app_list_t **dest)
}
if (!parse_string(msg, &app_info->exe_path) ||
((app_info->app_type != APP_TYPE_WEB) &&
+ ((app_info->app_type != APP_TYPE_RUNNING) ||
+ (app_info->app_id[0] != '\0')) &&
!check_exec_path(app_info->exe_path)))
{
LOGE("exec path parsing error\n");