OSDN Git Service

libsensors: fix building issues on Android 5.0
[android-x86/hardware-intel-libsensors.git] / RotVecSensor.cpp
index 33919a7..7f47fdd 100644 (file)
@@ -31,6 +31,10 @@ const struct sensor_t RotVecSensor::sSensorInfo_rotvec = {
     .minDelay   = 0,
     .fifoReservedEventCount = 0,
     .fifoMaxEventCount      = 0,
+    .stringType = SENSOR_STRING_TYPE_ROTATION_VECTOR,
+    .requiredPermission     = "",
+    .maxDelay   = 0,
+    .flags      = SENSOR_FLAG_CONTINUOUS_MODE,
     .reserved   = {},
 };