From c086b859be00a01cb0779a4d95368040db4135c8 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Mon, 24 Feb 2014 16:33:24 +0400 Subject: [PATCH] [IMPROVE] Implement system-wide instrumentation Now when we set app type to APP_RUNNING, empty path can be passed Change-Id: I82f076662597dbfa5481bb85b90398b4d6ebcf98 Signed-off-by: Alexander Aksenov --- daemon/da_protocol_inst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/da_protocol_inst.c b/daemon/da_protocol_inst.c index d555b59..bb5f7d7 100644 --- 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"); -- 2.7.4