ecs: handle emuld connection status on wearable profile
authorChulHo Song <ch81.song@samsung.com>
Thu, 12 Nov 2015 10:58:05 +0000 (19:58 +0900)
committerChulHo Song <ch81.song@samsung.com>
Fri, 13 Nov 2015 02:24:16 +0000 (11:24 +0900)
When the emuld open or close the EVDI, the EVDI kernel driver send a
emuld connection status to the ECS. But ECS does not handle the emuld
connection status on the wearable profile. Eventually the ECP cannot
handle emuld status properly. So the code about ignoring kernel
message should be removed.

Change-Id: I5dcf693298b8cba04328860df56aa4f07c8c38c1
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
tizen/src/ecs/ecs_msg_injector.c

index c1d6bce7ed0c43e9274e7ccf4da77f051897fb60..a57f29e930f6ad088f300ad429ee5d94c52c211a 100644 (file)
@@ -779,12 +779,7 @@ static bool injector_req_handle(char* cat, type_group group, type_action action,
         set_emulator_condition(BOOT_COMPLETED);
         return true;
     } else if (!strcmp(cat, MSG_TYPE_GUEST)) {
-        char* prof = get_emul_profile();
-        INFO("emuld connection is %d, with sender %d, profile %s\n", action, group, prof);
-        if (prof != NULL && !strncmp(prof, "wearable", 8) && group != 0) {
-            INFO("ignored emuld connection message from kernel in wearable: %s.\n", prof);
-            return true; // FIXME: WA - wearable profile
-        }
+        INFO("emuld connection is %d, with sender %d\n", action, group);
         set_emuld_connection(action);
     } else if (!strcmp(cat, MSG_TYPE_HDS)) {
         do_hds(cat, action);