mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Enable Magnetometer sensor injection by AIDL flag" into main
This commit is contained in:
@@ -268,7 +268,7 @@ MagnetometerSensor::MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallba
|
||||
mSensorInfo.fifoReservedEventCount = 0;
|
||||
mSensorInfo.fifoMaxEventCount = 0;
|
||||
mSensorInfo.requiredPermission = "";
|
||||
mSensorInfo.flags = 0;
|
||||
mSensorInfo.flags = static_cast<uint32_t>(SensorInfo::SENSOR_FLAG_BITS_DATA_INJECTION);
|
||||
};
|
||||
|
||||
void MagnetometerSensor::readEventPayload(EventPayload& payload) {
|
||||
|
||||
Reference in New Issue
Block a user