diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/EventReceiverServiceImpl.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/EventReceiverServiceImpl.java index 594ee9dac..2c012737f 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/EventReceiverServiceImpl.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/EventReceiverServiceImpl.java @@ -74,8 +74,8 @@ public class EventReceiverServiceImpl implements EventReceiverService { JsonObject jsonObject = gson.fromJson(eventPayload, JsonObject.class); Object payload[] = { jsonObject.get(TIME_STAMP).getAsLong(), - jsonObject.get(LONGITUDE).getAsDouble(), - jsonObject.get(LATITUDE).getAsDouble() + jsonObject.get(LATITUDE).getAsDouble(), + jsonObject.get(LONGITUDE).getAsDouble() }; try { if (AndroidAPIUtils.getEventPublisherService().publishEvent(