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

Commit aab57c5f authored by Peng Xu's avatar Peng Xu Committed by android-build-merger
Browse files

Merge "Correct sensor handle for operation parameter" into oc-dev

am: 8bba03d3

Change-Id: I4cfbf1d9924e3574054ba26567f3b959e657f35e
parents 00f569bb 8bba03d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1070,7 +1070,7 @@ int SensorService::setOperationParameter(
    for (sensors_event_t* i = event; i < event + 3; i++) {
        *i = (sensors_event_t) {
            .version = sizeof(sensors_event_t),
            .sensor = 0,
            .sensor = SENSORS_HANDLE_BASE - 1, // sensor that never exists
            .type = SENSOR_TYPE_ADDITIONAL_INFO,
            .timestamp = timestamp++,
            .additional_info = (additional_info_event_t) {