sdbd: add notify sdbd start
authormunkyu.im <munkyu.im@samsung.com>
Thu, 4 Jul 2013 07:19:49 +0000 (16:19 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Thu, 4 Jul 2013 07:42:40 +0000 (16:42 +0900)
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
tizen/src/guest_server.c
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java

index 804d4f681ac09ff5608ae818e6ef4e1c5eb96657..ef61941d56b7f7015599e52f08de971c7fb02d08 100644 (file)
@@ -254,6 +254,10 @@ static void* run_guest_server(void* args)
 
             TRACE("----------------------------------------\n");
 
+            if (strcmp(command, "2\n" ) == 0) {
+                TRACE("command:%s\n", command);
+                notify_sdb_daemon_start();
+            } 
             if (strcmp(command, "3\n" ) == 0) {
                 TRACE("command:%s\n", command);
                 notify_sensor_daemon_start();
index cc8aa6e02a5991dc67ad860ea479179f723221db..ad3d072515fd7bfd37dee9544e5fb254a0b35ad4 100644 (file)
@@ -1274,7 +1274,7 @@ public class EmulatorSkin {
                shellItem.addSelectionListener(new SelectionAdapter() {
                        @Override
                        public void widgetSelected(SelectionEvent e) {
-                               if (!communicator.isSensorDaemonStarted()) {
+                               if (!communicator.isSdbDaemonStarted()) {
                                        SkinUtil.openMessage(shell, null, "SDB is not ready.\n" +
                                                        "Please wait until the emulator is completely boot up.",
                                                        SWT.ICON_WARNING, config);