Merge "Enable Gyroscope sensor injection by AIDL flag" into main am: bfa8a13317
am: 9943d4fee0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2671395 Change-Id: I468cd82a993b1ebc1db2fe0509e37230d58f385b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
fe4f1eea8c
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