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

Commit 96368f07 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Camera: Reset mExpectedMinDuration during configureStreams" into tm-dev

parents f9591d6b cddfdbf3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2291,6 +2291,9 @@ status_t Camera3Device::configureStreamsLocked(int operatingMode,
        mOperatingMode = operatingMode;
    }

    // Reset min expected duration when session is reconfigured.
    mMinExpectedDuration = 0;

    // In case called from configureStreams, abort queued input buffers not belonging to
    // any pending requests.
    if (mInputStream != NULL && notifyRequestThread) {