From d59ce8260abd4122734bb544b8ca6e221ba5cea2 Mon Sep 17 00:00:00 2001 From: charitha Date: Fri, 13 Mar 2020 22:30:41 +0530 Subject: [PATCH] Add Android CE agent to the build --- .../main/java/org.carbon.android.emulator/Constants.java | 4 ++-- .../org.wso2.carbon.device.mgt.mobile.android.ui/pom.xml | 9 ++------- pom.xml | 8 +------- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/Constants.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/Constants.java index 83f971d3f1..d522c9f6a7 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/Constants.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.emulator/src/main/java/org.carbon.android.emulator/Constants.java @@ -46,8 +46,8 @@ class Constants { static final String DOWNLOADED_PLATFORM_NAME = "downloaded.platform.name"; static final String TARGET_VERSION = "target.version"; static final String OS_TARGET = "os.target"; - // WSO2 AVD specific variables + // Entgra AVD specific variables static final String WSO2_AVD_NAME = "ENTGRA_AVD"; - static final String APK_LOCATION = File.separator + "resources" + File.separator + "client-debug.apk"; + static final String APK_LOCATION = File.separator + "resources" + File.separator + "android-agent.apk"; static final String WSO2_CONFIG_LOCATION = File.separator + "resources" + File.separator + "config.ini"; } diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/pom.xml b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/pom.xml index ed8ce3c6bb..7ad6dfc932 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/pom.xml +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/pom.xml @@ -38,11 +38,6 @@ io.entgra.emm.android.agent.release apk - - io.entgra.emm - io.entgra.emm.android.agent.debug - apk - @@ -79,12 +74,12 @@ io.entgra.emm - io.entgra.emm.android.agent.debug + io.entgra.emm.android.agent.release apk ${android.agent.version} true ${project.basedir}/target/ - client-debug.apk + android-agent.apk diff --git a/pom.xml b/pom.xml index 64b5ae116a..08954b9061 100644 --- a/pom.xml +++ b/pom.xml @@ -1143,12 +1143,6 @@ apk ${android.agent.version} - - io.entgra.emm - io.entgra.emm.android.agent.debug - apk - ${android.agent.version} - com.google.apis google-api-services-androidenterprise @@ -1167,7 +1161,7 @@ 5.0.7-SNAPSHOT - 4.0.3 + 4.0.0 1.8