From 2430058cae39b5873d2e62d22037c0e20f197894 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Sat, 30 Sep 2023 10:51:32 +0200 Subject: [PATCH] fix: Fix redeclaration build error on Android --- .../android/src/main/java/com/mrousavy/camera/CameraError.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/android/src/main/java/com/mrousavy/camera/CameraError.kt b/package/android/src/main/java/com/mrousavy/camera/CameraError.kt index faa23ba..e462991 100644 --- a/package/android/src/main/java/com/mrousavy/camera/CameraError.kt +++ b/package/android/src/main/java/com/mrousavy/camera/CameraError.kt @@ -59,8 +59,6 @@ class CameraSessionCannotBeConfiguredError(cameraId: String, outputs: CameraOutp CameraError("session", "cannot-create-session", "Failed to create a Camera Session for Camera $cameraId! Outputs: $outputs") class CameraDisconnectedError(cameraId: String, error: CameraDeviceError) : CameraError("session", "camera-has-been-disconnected", "The given Camera device (id: $cameraId) has been disconnected! Error: $error") -class FrameProcessorsUnavailableError(reason: String) : - CameraError("system", "frame-processors-unavailable", "Frame Processors are unavailable! Reason: $reason") class VideoNotEnabledError : CameraError("capture", "video-not-enabled", "Video capture is disabled! Pass `video={true}` to enable video recordings.")