[Sensor] Fix for GyroscopeRotationVectorSensor. 39/90539/1
authorTomasz Marciniak <t.marciniak@samsung.com>
Fri, 30 Sep 2016 11:13:16 +0000 (13:13 +0200)
committerTomasz Marciniak <t.marciniak@samsung.com>
Fri, 30 Sep 2016 11:18:30 +0000 (13:18 +0200)
[Verification] Code compiles.
TCT pass rate:
wearable - 100% (97/97/0/0/0)
mobile - 100% (93/93/0/0/0)

Change-Id: Idd2c87a1fbbfc82af7807c86d6521bda9a9a4d84
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/sensor/sensor_api.js

index 9c810e819ebfbcb80c546774d69acf7ce1b68e1c..f30b58da93d79b38f05e765323c7a85d7ef57f2b 100755 (executable)
@@ -552,7 +552,7 @@ GyroscopeSensor.prototype.getGyroscopeSensorData = function() {
 
 //// GyroscopeRotationVectorSensor
 var GyroscopeRotationVectorSensor = function(data) {
-    Sensor.call(this, SensorType.GYROSCOPE);
+    Sensor.call(this, SensorType.GYROSCOPE_ROTATION_VECTOR);
 };
 
 GyroscopeRotationVectorSensor.prototype = new Sensor();