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

Commit 87ab442b authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Enable request processor during 'onCaptureSessionStart'

Advanced extension implementation can start using the request
processor as soon as they receive 'onCaptureSessionStart'.

Bug: 297173890
Test: atest -c -d cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java
Change-Id: I9f5fc98c228aa2233c9c9a88053b8849f41acc6e
parent 63153a29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -673,8 +673,8 @@ public final class CameraAdvancedExtensionSessionImpl extends CameraExtensionSes
                    synchronized (mInterfaceLock) {
                        try {
                            if (mSessionProcessor != null) {
                                mSessionProcessor.onCaptureSessionStart(mRequestProcessor);
                                mInitialized = true;
                                mSessionProcessor.onCaptureSessionStart(mRequestProcessor);
                            } else {
                                Log.v(TAG, "Failed to start capture session, session " +
                                                " released before extension start!");