Merge "Allows injection for the default HINGE_ANGLE sensor."

This commit is contained in:
Daniel Norman
2021-04-08 16:34:55 +00:00
committed by Gerrit Code Review

View File

@@ -46,7 +46,8 @@ class HingeAngleSensor : public OnChangeSensor {
mSensorInfo.fifoMaxEventCount = 0;
mSensorInfo.requiredPermission = "";
mSensorInfo.flags = static_cast<uint32_t>(V1_0::SensorFlagBits::ON_CHANGE_MODE |
V1_0::SensorFlagBits::WAKE_UP);
V1_0::SensorFlagBits::WAKE_UP |
V1_0::SensorFlagBits::DATA_INJECTION);
}
};