[Title] refix : logview exception when emulator booting failed
authorhyunsik.noh <hyunsik.noh@samsung.com>
Sun, 4 Dec 2011 15:51:33 +0000 (00:51 +0900)
committerhyunsik.noh <hyunsik.noh@samsung.com>
Sun, 4 Dec 2011 15:51:33 +0000 (00:51 +0900)
[Type] Enhancement
[Module] common
[Priority] Minor
[Redmine]Bug #3663

com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/LogPanel.java

index 9e0fbdb..b83765a 100644 (file)
@@ -157,6 +157,8 @@ public class LogPanel extends Panel implements IDeviceChangeListener {
                                        currentTab.setSelectedState(false);
                                }
                                currentTab = getCurrentLogTab();
+                               if( currentTab == null )
+                                       return ;
                                currentTab.setSelectedState(true);
                                // updateColumns(currentTab.getTable());
                                currentTab.initTab();
@@ -1017,6 +1019,10 @@ public class LogPanel extends Panel implements IDeviceChangeListener {
 
        @Override
        public void deviceConnected(IDevice device) {
+               if(device.isOnline())
+               {
+                       deviceChanged( device, 1);
+               }
        }
 
        @Override