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

Commit 4883dc24 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Camera: Skip extension processing if session is not valid" into main am: c8ad1861

parents 37927474 c8ad1861
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -1742,7 +1742,8 @@ public final class CameraExtensionSessionImpl extends CameraExtensionSession {
                                mCallbacks, result.getSequenceId());
                    }
                    if ((!mSingleCapture) && (mPreviewProcessorType ==
                            IPreviewExtenderImpl.PROCESSOR_TYPE_REQUEST_UPDATE_ONLY)) {
                            IPreviewExtenderImpl.PROCESSOR_TYPE_REQUEST_UPDATE_ONLY)
                            && mInitialized) {
                        CaptureStageImpl captureStage = null;
                        try {
                            captureStage = mPreviewRequestUpdateProcessor.process(
@@ -1765,8 +1766,8 @@ public final class CameraExtensionSessionImpl extends CameraExtensionSession {
                        } else {
                            mRequestUpdatedNeeded = false;
                        }
                    } else if (mPreviewProcessorType ==
                            IPreviewExtenderImpl.PROCESSOR_TYPE_IMAGE_PROCESSOR) {
                    } else if ((mPreviewProcessorType ==
                            IPreviewExtenderImpl.PROCESSOR_TYPE_IMAGE_PROCESSOR) && mInitialized) {
                        int idx = mPendingResultMap.indexOfKey(timestamp);

                        if ((idx >= 0) && (mPendingResultMap.get(timestamp).first == null)) {
@@ -1813,7 +1814,7 @@ public final class CameraExtensionSessionImpl extends CameraExtensionSession {
                    } else {
                        // No special handling for PROCESSOR_TYPE_NONE
                    }
                    if (notifyClient) {
                    if (notifyClient && mInitialized) {
                        final long ident = Binder.clearCallingIdentity();
                        try {
                            if (processStatus) {