Merge "Enable Gyroscope sensor injection by AIDL flag" into main
This commit is contained in:
commit
bfa8a13317
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ GyroSensor::GyroSensor(int32_t sensorHandle, ISensorsEventCallback* callback) :
|
|||
mSensorInfo.fifoReservedEventCount = 0;
|
||||
mSensorInfo.fifoMaxEventCount = 0;
|
||||
mSensorInfo.requiredPermission = "";
|
||||
mSensorInfo.flags = 0;
|
||||
mSensorInfo.flags = static_cast<uint32_t>(SensorInfo::SENSOR_FLAG_BITS_DATA_INJECTION);
|
||||
};
|
||||
|
||||
void GyroSensor::readEventPayload(EventPayload& payload) {
|
||||
|
|
Loading…
Reference in a new issue