Loading core/java/android/hardware/camera2/CameraCaptureSession.java +5 −0 Original line number Diff line number Diff line Loading @@ -1397,6 +1397,11 @@ public abstract class CameraCaptureSession implements AutoCloseable { * the capture may have been pushed to their respective output * streams.</p> * * <p>If a logical multi-camera fails to generate capture result for one of * its physical cameras, this method will be called with a {@link CaptureFailure} * for that physical camera. In such cases, as long as the logical camera capture * result is valid, {@link #onCaptureCompleted} will still be called.</p> * * <p>The default implementation of this method does nothing.</p> * * @param session Loading core/java/android/hardware/camera2/impl/CameraDeviceImpl.java +12 −9 Original line number Diff line number Diff line Loading @@ -1908,6 +1908,8 @@ public class CameraDeviceImpl extends CameraDevice Log.v(TAG, String.format("got error frame %d", frameNumber)); } // Do not update frame number tracker for physical camera result error. if (errorPhysicalCameraId == null) { // Update FrameNumberTracker for every frame during HFR mode. if (mBatchOutputMap.containsKey(requestId)) { for (int i = 0; i < mBatchOutputMap.get(requestId); i++) { Loading @@ -1920,6 +1922,7 @@ public class CameraDeviceImpl extends CameraDevice } checkAndFireSequenceComplete(); } // Dispatch the failure callback final long ident = Binder.clearCallingIdentity(); Loading Loading
core/java/android/hardware/camera2/CameraCaptureSession.java +5 −0 Original line number Diff line number Diff line Loading @@ -1397,6 +1397,11 @@ public abstract class CameraCaptureSession implements AutoCloseable { * the capture may have been pushed to their respective output * streams.</p> * * <p>If a logical multi-camera fails to generate capture result for one of * its physical cameras, this method will be called with a {@link CaptureFailure} * for that physical camera. In such cases, as long as the logical camera capture * result is valid, {@link #onCaptureCompleted} will still be called.</p> * * <p>The default implementation of this method does nothing.</p> * * @param session Loading
core/java/android/hardware/camera2/impl/CameraDeviceImpl.java +12 −9 Original line number Diff line number Diff line Loading @@ -1908,6 +1908,8 @@ public class CameraDeviceImpl extends CameraDevice Log.v(TAG, String.format("got error frame %d", frameNumber)); } // Do not update frame number tracker for physical camera result error. if (errorPhysicalCameraId == null) { // Update FrameNumberTracker for every frame during HFR mode. if (mBatchOutputMap.containsKey(requestId)) { for (int i = 0; i < mBatchOutputMap.get(requestId); i++) { Loading @@ -1920,6 +1922,7 @@ public class CameraDeviceImpl extends CameraDevice } checkAndFireSequenceComplete(); } // Dispatch the failure callback final long ident = Binder.clearCallingIdentity(); Loading