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

Commit e7f19f52 authored by Harry Cutts's avatar Harry Cutts Committed by Automerger Merge Worker
Browse files

Merge "Fix logic error in SensorInputMapper::createSensor" into udc-dev am: 8fc4d9c4

parents 83a14ae6 8fc4d9c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ SensorInputMapper::Sensor SensorInputMapper::createSensor(InputDeviceSensorType
    transform(prefix.begin(), prefix.end(), prefix.begin(), ::tolower);

    int32_t reportingMode = 0;
    if (!tryGetProperty(prefix + ".reportingMode", reportingMode)) {
    if (tryGetProperty(prefix + ".reportingMode", reportingMode)) {
        sensorInfo.flags |= (reportingMode & REPORTING_MODE_MASK) << REPORTING_MODE_SHIFT;
    }