From: giwoong.kim Date: Fri, 14 Sep 2012 06:50:59 +0000 (+0900) Subject: [Title] added some comments & deleted unnecessary code X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35885a3f3015974eb843cb2ebc8b68e0f13a2759;p=sdk%2Femulator%2Fqemu.git [Title] added some comments & deleted unnecessary code [Type] enhancement [Module] Emulator [Priority] minor [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/tizen/src/hw/maru_device_ids.h b/tizen/src/hw/maru_device_ids.h index 46b81d8a4c..9d61c6e3e0 100644 --- a/tizen/src/hw/maru_device_ids.h +++ b/tizen/src/hw/maru_device_ids.h @@ -47,10 +47,37 @@ #define PCI_DEVICE_ID_VIRTUAL_BRIGHTNESS 0x1014 #define PCI_DEVICE_ID_VIRTUAL_CAMERA 0x1018 #define PCI_DEVICE_ID_VIRTUAL_CODEC 0x101C +// Device ID 0x1000 through 0x103F inclusive is a virtio device #define PCI_DEVICE_ID_VIRTIO_TOUCHSCREEN 0x101D -/* virtio */ -#define VIRTIO_ID_TOUCHSCREEN 10 +/* Virtio */ +/* ++----------------------+--------------------+---------------+ +| Subsystem Device ID | Virtio Device | Specification | ++----------------------+--------------------+---------------+ ++----------------------+--------------------+---------------+ +| 1 | network card | Appendix C | ++----------------------+--------------------+---------------+ +| 2 | block device | Appendix D | ++----------------------+--------------------+---------------+ +| 3 | console | Appendix E | ++----------------------+--------------------+---------------+ +| 4 | entropy source | Appendix F | ++----------------------+--------------------+---------------+ +| 5 | memory ballooning | Appendix G | ++----------------------+--------------------+---------------+ +| 6 | ioMemory | - | ++----------------------+--------------------+---------------+ +| 7 | rpmsg | Appendix H | ++----------------------+--------------------+---------------+ +| 8 | SCSI host | Appendix I | ++----------------------+--------------------+---------------+ +| 9 | 9P transport | - | ++----------------------+--------------------+---------------+ +| 10 | mac80211 wlan | - | ++----------------------+--------------------+---------------+ +*/ +#define VIRTIO_ID_TOUCHSCREEN 11 #endif /* MARU_DEVICE_IDS_H_ */ diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java index 14820cd688..628464c654 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java @@ -166,29 +166,6 @@ public class DetailInfoDialog extends SkinDialog { return; } - ProcessBuilder procBrowser = new ProcessBuilder(); - - if (SwtUtil.isLinuxPlatform()) { - procBrowser.command("nautilus", "--browser", openPath); - } else if (SwtUtil.isWindowsPlatform()) { - procBrowser.command("explorer", "\"" + openPath + "\""); - } else if (SwtUtil.isMacPlatform()) { - //TODO: - logger.warning( "not supported yet" ); - } - - if (procBrowser.command().isEmpty() == false) { - try { - procBrowser.start(); - } catch (Exception e) { - logger.log( Level.SEVERE, e.getMessage(), e); - } - } - - if (openPath.compareTo(VALUE_NONE) == 0 || openPath.compareTo("") == 0) { - return; - } - Program.launch(openPath); /*ProcessBuilder procBrowser = new ProcessBuilder();