javaextensions/sensor/src.s60/cacceleratorsensorrawdata.cpp
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
--- a/javaextensions/sensor/src.s60/cacceleratorsensorrawdata.cpp	Thu Jul 15 18:31:06 2010 +0300
+++ b/javaextensions/sensor/src.s60/cacceleratorsensorrawdata.cpp	Thu Aug 19 09:48:13 2010 +0300
@@ -97,6 +97,18 @@
     TSensrvProperty property;
     TInt intValue(0);
     GetProperty(aList, KSensrvPropIdScaledRange,KSensrvItemIndexNone, property);
+
+    if ((property.GetArrayIndex() == ESensrvArrayPropertyInfo)&&
+            (property.PropertyType() == ESensrvIntProperty))
+    {
+        // Read index
+        TInt rangeIndex = 0;
+
+        // Read actual property data from array
+        GetProperty(aList, KSensrvPropIdScaledRange,
+                    KSensrvItemIndexNone, rangeIndex, property);
+    }
+
     if (property.PropertyType() == ESensrvIntProperty)
     {
         aPtr->Append(KMeasureRangeCount);