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

Commit 685339b1 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9424627 from c0ef8df2 to tm-qpr2-release

Change-Id: If25f6a096320c6963b34b8dc30b03e5b0a465755
parents 341c75f6 c0ef8df2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1526,7 +1526,8 @@ nsecs_t Camera3OutputStream::syncTimestampToDisplayLocked(nsecs_t t) {
                vsyncTime.deadlineTimestamp >= currentTime &&
                ((!cameraDisplayInSync && vsyncTime.expectedPresentationTime > minPresentT) ||
                 (cameraDisplayInSync && vsyncTime.expectedPresentationTime >
                mLastPresentTime + minInterval + biasForShortDelay * kTimelineThresholdNs))) {
                mLastPresentTime + minInterval +
                    static_cast<nsecs_t>(biasForShortDelay * kTimelineThresholdNs)))) {
            expectedPresentT = vsyncTime.expectedPresentationTime;
            minDiff = std::abs(vsyncTime.expectedPresentationTime - idealPresentT);
        }