Merge "Enable Magnetometer sensor injection by AIDL flag" into main
This commit is contained in:
commit
9e9c6feffa
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue