summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormunkyu.im <munkyu.im@samsung.com>2013-07-04 16:19:49 +0900
committerGiWoong Kim <giwoong.kim@samsung.com>2013-07-05 15:13:51 +0900
commita122bd080b17c5934a4f914a0fb50f76e57d58b6 (patch)
tree9800778e013370ec89446116ea7342e6140e251c
parentd956e44ecf74d657ca933dc2af46b61e748495de (diff)
downloadqemu-a122bd080b17c5934a4f914a0fb50f76e57d58b6.tar.gz
qemu-a122bd080b17c5934a4f914a0fb50f76e57d58b6.tar.bz2
qemu-a122bd080b17c5934a4f914a0fb50f76e57d58b6.zip
sdbd: add notify sdbd start
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
-rw-r--r--tizen/src/guest_server.c4
-rw-r--r--tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/tizen/src/guest_server.c b/tizen/src/guest_server.c
index 0a7e69e633..5ca7499ae2 100644
--- a/tizen/src/guest_server.c
+++ b/tizen/src/guest_server.c
@@ -205,6 +205,10 @@ static void* run_guest_server(void* args)
parse_val(readbuf, 0x0a, command);
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();
diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java
index 046aaf7bce..8eb94a1f59 100644
--- a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java
+++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java
@@ -1257,7 +1257,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);