Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d840c2d5 authored by Menna Awadallah's avatar Menna Awadallah
Browse files

Enable Gyroscope sensor injection by AIDL flag

Enable the flag to be used by cuttlefish.
Test: Manual.
Bug: 292206288

Change-Id: I34abe7c5bbec8a336c71775f9db0bd783cf34bc4
parent ac5fe6e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {