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

Commit 1d60db8b authored by Mansoor Aftab's avatar Mansoor Aftab Committed by Android Git Automerger
Browse files

am c2c874d8: Camera3: Fix Bug minTimestamp is never greater than frame timestamp

* commit 'c2c874d8':
  Camera3: Fix Bug minTimestamp is never greater than frame timestamp
parents cf2148e8 c2c874d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ nsecs_t ZslProcessor3::getCandidateTimestampLocked(size_t* metadataIdx) const {
                continue;
            }
            nsecs_t frameTimestamp = entry.data.i64[0];
            if (minTimestamp > frameTimestamp) {
            if (minTimestamp > frameTimestamp || minTimestamp == -1) {

                entry = frame.find(ANDROID_CONTROL_AE_STATE);
                if (entry.count == 0) {