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

Commit 54c36820 authored by Zhijun He's avatar Zhijun He
Browse files

Camera: fix condition check typo

HFR should send valid setting for the first request inside a batch.

Bug: 111528642
Test: Slowmo on Pixel 3
Change-Id: Id92a9e23d12b7f9dde3acfc70b656ae39bdaee5b
parent a0b8b596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4766,7 +4766,7 @@ status_t Camera3Device::RequestThread::prepareHalRequests() {
        bool newRequest = (mPrevRequest != captureRequest || triggersMixedIn) &&
                // Request settings are all the same within one batch, so only treat the first
                // request in a batch as new
                !(batchedRequest && i >= 0);
                !(batchedRequest && i > 0);
        if (newRequest) {
            /**
             * HAL workaround: