[Title] check sdb when emulator bootup
authorgiwoong.kim <giwoong.kim@samsung.com>
Mon, 26 Mar 2012 17:53:49 +0000 (02:53 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Mon, 26 Mar 2012 17:53:49 +0000 (02:53 +0900)
[Type]
[Module] Emulator
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

package/pkginfo.manifest
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java

index 3804fce6202c98e502f47f7622281770aeaaea66..db77b985b57889029dfabaf0f86d17e094b4b262 100644 (file)
@@ -1,5 +1,5 @@
 Package: emulator
-Version: 1.2.52
+Version: 1.2.53
 OS: linux
 Build-host-os: linux
 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
@@ -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<yeongkyoon.lee@samsung.com>
index afd4b31345e1183f637e5b5d3a78fa7a198b8f0a..3df6fc456134d059a5a30f3b63b82b7a2417ab5d 100644 (file)
@@ -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;