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

Commit 219a9d5b authored by Alex Ray's avatar Alex Ray Committed by Android (Google) Code Review
Browse files

Merge "Camera: Log warning on out-of-range face detect scores" into jb-mr2-dev

parents 1c345ebe 36185a4b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -247,6 +247,10 @@ status_t FrameProcessor::processFaceDetect(const CameraMetadata &frame,
                metadata.number_of_faces--;
                continue;
            }
            if (faceScores[i] > 100) {
                ALOGW("%s: Face index %d with out of range score %d",
                        __FUNCTION__, i, faceScores[i]);
            }

            camera_face_t face;