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

Commit 72b06f10 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

am: aab57c5f

Change-Id: I7485ab70fccd80056258701b2fdc3b12173c5b29
parents 08b8bf8b aab57c5f
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) {