From: hyunsik.noh Date: Sun, 4 Dec 2011 12:42:27 +0000 (+0900) Subject: [Title] logview exception when emulator booting failed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e6ff51113e875aba39b5754a0133d86978145a4;p=sdk%2Fide%2Fcommon-eplugin.git [Title] logview exception when emulator booting failed [Type] Enhancement [Module] common [Priority] Minor [Redmine]Bug #3663 --- diff --git a/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/AddViewDialog.java b/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/AddViewDialog.java index f9eecb1..e7ba52e 100644 --- a/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/AddViewDialog.java +++ b/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/AddViewDialog.java @@ -161,7 +161,8 @@ public class AddViewDialog extends Dialog { if (devices.length != 0) { for (IDevice d : devices) { - dCombo.add(d.getSerialNumber()); + if(d.isOnline()) + dCombo.add(d.getSerialNumber()); } if (device != null) { diff --git a/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/LogPanel.java b/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/LogPanel.java index 934aa27..9e0fbdb 100644 --- a/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/LogPanel.java +++ b/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/log/LogPanel.java @@ -191,6 +191,8 @@ public class LogPanel extends Panel implements IDeviceChangeListener { if (devices != null) { for (IDevice device : devices) { + if( device.isOffline()) + continue; LogTab tab = createTab(device, null); tab.setDefault(); tab.startLogTab();