Merge "Enable Magnetometer sensor injection by AIDL flag" into main am: 9e9c6feffa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2657662 Change-Id: I0e115577bbaa57a3cce8edb7a273af287306923f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
38ed98a535
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ MagnetometerSensor::MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallba
|
||||||
mSensorInfo.fifoReservedEventCount = 0;
|
mSensorInfo.fifoReservedEventCount = 0;
|
||||||
mSensorInfo.fifoMaxEventCount = 0;
|
mSensorInfo.fifoMaxEventCount = 0;
|
||||||
mSensorInfo.requiredPermission = "";
|
mSensorInfo.requiredPermission = "";
|
||||||
mSensorInfo.flags = 0;
|
mSensorInfo.flags = static_cast<uint32_t>(SensorInfo::SENSOR_FLAG_BITS_DATA_INJECTION);
|
||||||
};
|
};
|
||||||
|
|
||||||
void MagnetometerSensor::readEventPayload(EventPayload& payload) {
|
void MagnetometerSensor::readEventPayload(EventPayload& payload) {
|
||||||
|
|
Loading…
Reference in a new issue