From eeb6a9a35d34a755feef5648d981e03b5c7542cf Mon Sep 17 00:00:00 2001 From: Menaka Madushanka Date: Mon, 21 Dec 2015 13:39:08 +0530 Subject: [PATCH] Fixed light, proximity and pressure problem. --- .../mgt/iot/androidsense/service/impl/AndroidSenseService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/components/device-mgt-iot-androidsense/org.wso2.carbon.device.mgt.iot.androidsense.api/src/main/java/org/wso2/carbon/device/mgt/iot/androidsense/service/impl/AndroidSenseService.java b/components/device-mgt-iot-androidsense/org.wso2.carbon.device.mgt.iot.androidsense.api/src/main/java/org/wso2/carbon/device/mgt/iot/androidsense/service/impl/AndroidSenseService.java index 8dbefa3d03..02a8d2ad87 100644 --- a/components/device-mgt-iot-androidsense/org.wso2.carbon.device.mgt.iot.androidsense.api/src/main/java/org/wso2/carbon/device/mgt/iot/androidsense/service/impl/AndroidSenseService.java +++ b/components/device-mgt-iot-androidsense/org.wso2.carbon.device.mgt.iot.androidsense.api/src/main/java/org/wso2/carbon/device/mgt/iot/androidsense/service/impl/AndroidSenseService.java @@ -285,7 +285,6 @@ public class AndroidSenseService { switch (androidSensorId){ case 1: streamDef = ACCELEROMETER_STREAM_DEFINITION; - gValuesF[0] = Float.parseFloat(valuesM[0]) * Float.parseFloat(valuesM[0]) * Float .parseFloat(valuesM[0]); payloadData = gValuesF;