menu: delete some unnecessary lines in SWT GUI
authorGiWoong Kim <giwoong.kim@samsung.com>
Mon, 9 Nov 2015 07:35:11 +0000 (16:35 +0900)
committerGiWoong Kim <giwoong.kim@samsung.com>
Mon, 9 Nov 2015 07:38:13 +0000 (16:38 +0900)
There is no need to consider CPU architecture on
Detailed Info Dialog.

Change-Id: I97ac80a5cee32d382ac93d60e01740a87a8de8d6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/skin/client/src/org/tizen/emulator/skin/dialog/DetailInfoDialog.java

index b7ed271283bbfe2e0a587261920338e333be7201..ea9c359237ddf0316b6d8faf7e5f23cf8082a505 100644 (file)
@@ -260,7 +260,7 @@ public class DetailInfoDialog extends SkinDialog {
        private LinkedHashMap<String, String> composeAndParseData(String infoData) {
                logger.info("Received infoData : {" + infoData + "}");
 
-               String cpu = "";
+               String cpu = "x86";
                String ramSize = "";
                String dpi = "";
                List<String> imagePathList = new ArrayList<String>();
@@ -282,20 +282,7 @@ public class DetailInfoDialog extends SkinDialog {
                for (int i = 0; i < split.length; i++) {
                        if (0 == i) { /* emulator binary name */
                                String exec = split[i].trim().toLowerCase();
-
-                               if (SwtUtil.isWindowsPlatform()) {
-                                       if (4 <= exec.length()) {
-                                               /* remove '.exe' in Windows */
-                                               exec = exec.substring(0, exec.length() - 4);
-                                       }
-                               }
-
-                               // TODO:
-                               if (exec.endsWith("x86")) {
-                                       cpu = "x86";
-                               } else if (exec.endsWith("arm")) {
-                                       cpu = "ARM";
-                               }
+                               logger.info("binary name:" + exec);
                        } else { /* qemu arguments */
                                if (i + 1 <= split.length) {
                                        String arg = split[i].trim();