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

Commit dd62e177 authored by Andrew Lehmer's avatar Andrew Lehmer Committed by android-build-merger
Browse files

Merge "Increase recent event count for light sensors" into pi-dev

am: da7e1b5f

Change-Id: I65371858a8ee68f9e1d86c03a39664fdb3e3cbc3
parents 901545a5 da7e1b5f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -100,7 +100,8 @@ bool RecentEventLogger::populateLastEvent(sensors_event_t *event) const {
size_t RecentEventLogger::logSizeBySensorType(int sensorType) {
    return (sensorType == SENSOR_TYPE_STEP_COUNTER ||
            sensorType == SENSOR_TYPE_SIGNIFICANT_MOTION ||
            sensorType == SENSOR_TYPE_ACCELEROMETER) ? LOG_SIZE_LARGE : LOG_SIZE;
            sensorType == SENSOR_TYPE_ACCELEROMETER ||
            sensorType == SENSOR_TYPE_LIGHT) ? LOG_SIZE_LARGE : LOG_SIZE;
}

RecentEventLogger::SensorEventLog::SensorEventLog(const sensors_event_t& e) : mEvent(e) {