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

Commit eee9697a authored by Chien-Yu Chen's avatar Chien-Yu Chen Committed by Android (Google) Code Review
Browse files

Merge "Camera3Device: Fix high speed configuration" into mnc-dev

parents c764de34 17338fca
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1033,7 +1033,11 @@ status_t Camera3Device::configureStreams(bool isConstrainedHighSpeed) {

    Mutex::Autolock il(mInterfaceLock);
    Mutex::Autolock l(mLock);

    if (mIsConstrainedHighSpeedConfiguration != isConstrainedHighSpeed) {
        mNeedConfig = true;
        mIsConstrainedHighSpeedConfiguration = isConstrainedHighSpeed;
    }

    return configureStreamsLocked();
}