From eccad44dfffc2de83ab75156e23ab3b707e91da8 Mon Sep 17 00:00:00 2001 From: Nirothipan Date: Wed, 21 Jun 2017 14:24:22 +0530 Subject: [PATCH] edits --- .../src/main/java/org.carbon.android.emulator/TryIt.java | 2 -- .../org.wso2.carbon.device.mgt.mobile.android.ui/build.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java index 3acad6737..fe1105d53 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/TryIt.java @@ -66,7 +66,6 @@ public class TryIt { osSuffix = System.getProperty(Constants.OS_NAME_PROPERTY).toLowerCase(); userHome = System.getProperty(Constants.USER_HOME_PROPERTY); workingDirectory = System.getProperty(Constants.USER_DIRECTORY_PROPERTY); - if (osSuffix.contains(Constants.WINDOWS_OS)) { osSuffix = Constants.WINDOWS_OS; } @@ -318,7 +317,6 @@ public class TryIt { createAvdProcessBuilder.redirectOutput(ProcessBuilder.Redirect.INHERIT); Process createAvdProcess = createAvdProcessBuilder.start(); createAvdProcess.waitFor(); - } else { ProcessBuilder createAvd = new ProcessBuilder(androidPath, "create", "avd", "-n", Constants.WSO2_AVD_NAME, "-t", "android-23"); diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/build.xml b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/build.xml index fa0d8c18f..f9445ccaf 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/build.xml +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/build.xml @@ -29,7 +29,7 @@ - +