javaextensions/sensor/src.s60/cacceleratorsensorrawdata.cpp
changeset 56 abc41079b313
parent 21 2a9601315dfc
--- a/javaextensions/sensor/src.s60/cacceleratorsensorrawdata.cpp	Fri Jul 09 16:35:45 2010 +0300
+++ b/javaextensions/sensor/src.s60/cacceleratorsensorrawdata.cpp	Fri Jul 23 12:27:20 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);