From: giwoong.kim Date: Mon, 26 Mar 2012 17:53:49 +0000 (+0900) Subject: [Title] check sdb when emulator bootup X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1729^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ec348dd2111ae09fe72a3e8573b994a71d18e5b;p=sdk%2Femulator%2Fqemu.git [Title] check sdb when emulator bootup [Type] [Module] Emulator [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 3804fce620..db77b985b5 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,5 +1,5 @@ Package: emulator -Version: 1.2.52 +Version: 1.2.53 OS: linux Build-host-os: linux Maintainer: Yeong-Kyoon Lee @@ -8,7 +8,7 @@ Source: emulator Description: Tizen Emulator Package: emulator -Version: 1.2.52 +Version: 1.2.53 OS: windows Build-host-os: windows Maintainer: Yeong-Kyoon Lee 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 afd4b31345..3df6fc4561 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 @@ -682,6 +682,10 @@ public class EmulatorSkin { shellItem.addSelectionListener( new SelectionAdapter() { @Override public void widgetSelected( SelectionEvent e ) { + if ( !communicator.isSensorDaemonStarted() ) { + SkinUtil.openMessage( shell, null, "SDB is not ready.\nPlease, wait.", SWT.ICON_WARNING, config ); + return; + } String sdbPath = SkinUtil.getSdbPath(); String portNumber = StringUtil.nvl(config.getArg( ArgsConstants.NET_BASE_PORT )); @@ -787,7 +791,7 @@ public class EmulatorSkin { } /////////// - SkinUtil.openMessage( shell, null, "Rotation is not ready.", SWT.ICON_WARNING, config ); + SkinUtil.openMessage( shell, null, "Rotation is not ready.\nPlease, wait.", SWT.ICON_WARNING, config ); return;