fix: Fix CodeScanner
not being called (#2082)
This commit is contained in:
parent
3b7f020566
commit
d675b6a9da
@ -392,6 +392,9 @@ class CameraSession(private val context: Context, private val cameraManager: Cam
|
|||||||
videoOutput?.let { output ->
|
videoOutput?.let { output ->
|
||||||
captureRequest.addTarget(output.surface)
|
captureRequest.addTarget(output.surface)
|
||||||
}
|
}
|
||||||
|
codeScannerOutput?.let { output ->
|
||||||
|
captureRequest.addTarget(output.surface)
|
||||||
|
}
|
||||||
|
|
||||||
// Set FPS
|
// Set FPS
|
||||||
// TODO: Check if the FPS range is actually supported in the current configuration.
|
// TODO: Check if the FPS range is actually supported in the current configuration.
|
||||||
|
Loading…
Reference in New Issue
Block a user