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

Commit 8f870ada authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix watchdog when NaN lux is reported."

parents 7355e9fa 9287e97a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ public final class AmbientBrightnessDayStats implements Parcelable {
    }

    private int getBucketIndex(float ambientBrightness) {
        if (ambientBrightness < mBucketBoundaries[0]) {
        if (ambientBrightness < mBucketBoundaries[0] || Float.isNaN(ambientBrightness)) {
            return -1;
        }
        int low = 0;