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

Commit 70af9392 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

am: dd62e177

Change-Id: If765d46402506bfac786b5d0d0f9478643d73d92
parents 59043096 dd62e177
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) {